DataGrid Properties
Override default with $.fn.datagrid.defaults.
Name Type Description Default title string The datagrid panel title text. null iconCls string A CSS class that will provide a background image to be used as the header icon. null border boolean True to show datagrid panel border. true width number The width of datagrid width. auto height number The height of datagrid height. auto columns array The datagrid columns config object, see column properties for more details. null frozenColumns array Same as the columns property, but the these columns will be frozen on left. null striped boolean True to stripe the rows. false method string The method type to request remote data. post nowrap boolean True to display data in one line. true idField string Indicate which field is an identity field. null url string A URL to request data from remote site. null loadMsg string When loading data from remote site, show a prompt message. Processing, please wait … pagination boolean True to show a pagination toolbar on datagrid bottom. false rownumbers boolean True to show a row number column. false singleSelect boolean True to allow selecting only one row. false fit boolean True to set size to fit it's parent container. false pageNumber number When set pagination property, initialize the page number. 1 pageSize number When set pagination property, initialize the page size. 10 pageList array When set pagination property, initialize the page size selecting list. [10,20,30,40,50] queryParams object When request remote data, sending additional parameters also. {} sortName string Defines which column can be sorted. null sortOrder string Defines the column sort order, can only be 'asc' or 'desc'. asc