tree expand button

Hello All! I need to have a pushbutton cell, however, the kind of button I''m looking for needs to look exactly like or close to exactly like the button the gridcontrol uses for expanding/contracting rows, you know the one that''s small and switches from a plus/minus sign. Is there any way to manually configure a row to be expandable or is there a way for me to specify a special cell type that will give me the button I''m looking for? Many thanks Giancarlo

1 Reply

AD Administrator Syncfusion Team November 3, 2005 05:53 PM UTC

If you want the cell used in the GriddataBoundGrid, then you can create an celltype using cellModels.Add and then use this celltype in your grid. The cell does expect the cellvalue to be an int holding 1 or 0 to indicate how the button is drawn. Here is a little sample. http://www.syncfusion.com/Support/user/uploads/GC_PM_d61b2a93.zip

Loader.
Up arrow icon