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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

create VS.Net Properties form like grid form

Thread ID:

Created:

Updated:

Platform:

Replies:

75285 Jul 18,2008 05:56 PM UTC Jul 21,2008 02:58 PM UTC WinForms 1
loading
Tags: GridControl
Lan Mo
Asked On July 18, 2008 05:56 PM UTC

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

Sri Rajan [Syncfusion]
Replied On 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.


CONFIRMATION

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.

Warning Icon 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.Close Icon

;