Custom Renderers and Custom Editors

From Lianjapedia
Revision as of 07:14, 7 December 2017 by Barrymavin (Talk | contribs)

Jump to: navigation, search

Under construction

Lianja 4.1 provides the ability to specify custom renderers and custom editors in SmartGrid and FormGrid cells.

In the example below there are two of the grid columns (the Chart and the Employee Details columns) that have a Custom Renderer and one (the Employee Details column) that also has a Custom Editor.

Bm-appinspector.png

Cell Renderer

You can customise what is displayed inside the grid cells by specifying a Display delegate in the custom delegates for the grid columns of a SmartGrid or the FormItem cell of a FormGrid.

Cell Editor

You can customise what is rendered inside the grid cells when editing by specifying an Editor delegate in the custom delegates for the grid columns of a SmartGrid or the FormItem cell of a FormGrid.