create VS.Net Properties form like grid form

Hi,

I want to create a 'Attribute Form' which will view/Edit a row of table data like VS.Net's properites form(see attached). The grid has only two columns- Field Name and Field Value. Each field has different data type and its value cell will have different celltype such as checkbox,dropdown list etc.
I want to know which type grid I should use and Do you have any smaple for my reference?
Thank you in advance.

Lan





PropertiesForm_2607403b.zip

1 Reply

SR Sri Rajan Syncfusion Team July 21, 2008 02:58 PM UTC

Hi Lan,

Thank you for your interest in Syncfusion products.

You need to use GridControl to achieve this behaviour. Here is some code for your reference.

//To set row and column count.
this.gridControl1.Model.ColCount = 2;
this.gridControl1.Model.RowCount = 5;

//To set celltype
this.gridControl1[1, 1].CellType = "CheckBox";


Please let me know if this helps.

Best Regards,
Srirajan.


Loader.
Up arrow icon