We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

create VS.Net Properties form like grid form

Thread ID:





75285 Jul 18,2008 01:56 PM Jul 21,2008 10:58 AM Windows Forms 1
Tags: GridControl
Lan Mo
Asked On July 18, 2008 01:56 PM


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.



Sri Rajan [Syncfusion]
Replied On July 21, 2008 10:58 AM

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,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.