How to use custom logics for grid cell customization?
Customize Grid cells such as cell formatting, cell text, etc., with user’s custom logic
For cell level customization “queryCellIfo” event can be used. It have option to apply our own custom logics to cell formatting and text corrections. The “queryCellInfo” event will be triggered for every cell in grid with complete information about cell and arguments for transforming particular cell. Its event arguments are listed below
The below highlighted code is example for user can customize the cell through queryCellInfo event. In this example, we explain about how to change “Customer ID” column background color as “lightblue”, and the font color as a “green” using custom CSS. In “Employee ID” column the font color set as “red” using custom CSS if the value is greater than 3.
Please find the code snippet for initialize “queryCellInfo” event in Grid.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|