Next
Update
Prev

This sample Grid demonstrates what properties you can use. Refer to the table below for the details of each property.

<DataGrid Properties>

doubleClickEnabled Whether or not to allow the mouse double-click. Select either true or false (default : false). If it is set to true, then you can modify the cell data by mouse double clicking.
draggableColumns Whether or not to allow moving columns. Select either true or false (default : false).
editable This property is to set the editing mode. Select either true or false (default : false).
enabled Whether or not to lock Grid. Select either true or false (default : true).
groupRowHeight This property is to set the height of the grouped row (unit : pixel, default : -1).
headerHeight This property is to set the header height (unit : pixel).
headerWordWrap Whether or not to allow wrapping text. Select either true or false (default : false).
horizontalScrollPolicy This property is to set the horizontal scroll. Select one of the following values: auto, on, off (default : off).
lockedColumnCount This property is to freeze columns. If the value is 0, then columns will be unfrozen.
lockedRowCount This property is to freeze rows. If the value is 0, then rows will be unfrozen.
minColumnWidth This property is to set the default minimum width of columns (unit : pixel).
rowHeight: This property is to set the height of rows (unit : pixel).
selectionMode This property is to set the selection mode of Grid. Select one of the following values: multipleCells, multipleRows, none, singleCell, singleRow (default : singleRow).
showHeaders Whether or not to display the header of Grid. Select either true or false).
showScrollTips Whether or not to display tooltips (row number) while scrolling. Select either true or false (default : false).
sortableColumns Whether or not to allow Sorting on columns. Select either true or false (default : false).
sortExpertMode Whether or not to display the advanced sort icon. Select either true or false (default : true).
variableRowHeight Whether or not to adjust the height of rows automatically. Select either true" or false. If it is set to true, then the value of the rowHeight property will be ignored.
verticalScrollPolicy This property is to set the vertical scroll. Select one of the following values: auto, on, off (default : off).
wordWrap Whether or not to allow wrapping text. Select either true or false (default : false).

© 2017 KoolChart. All rights reserved.