DataGrid
Arguments
- rows
A data.frame of rows. An
idcolumn of 1-based row numbers is added automatically if not already present.- columns
Column definitions (list of lists, or a data.frame with one row per column). If
NULL, auto-generated fromnames(rows). Any column without an explicittypehas one inferred from the matchingrowscolumn: numeric columns get MUI'snumbertype and logical columns itsbooleantype; all other classes (includingDate,POSIXct, and factors) default tostring. Atypeyou set yourself is always kept. To get MUI's date-picker filtering, settype = "date"together with avalueGetterthat returns a JSDateexplicitly.- ...
Additional props passed directly to the MUI DataGrid component.