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.
Syncfusion Feedback

GCC column resize, NonEditable problem

Thread ID:

Created:

Updated:

Platform:

Replies:

43195 Apr 18,2006 11:44 AM UTC Apr 21,2006 09:13 AM UTC Windows Forms 3
loading
Tags: GridControl
Rahul Sharma
Asked On April 18, 2006 11:44 AM UTC

1) how to make the columns width of a table present in GridGroupingControl datagrid autofit, so as on resize of the form the columns width adjust themselves. 2)I wish to make the datagrid behave like that only for any table, with any number of columns. Will i need to change the table Descriptor setting. 3)If Table Descriptor''s AllowEdit is set True, the GCC still allow to Select and delete the text of the grid,the backspace work as well!!! Is there any way to stop this feature. 4)If Possible, please do send some running code as the GCC knowledge Base also desperately needs it,as no such code availble for GCC in the Forums. Thanks In Advance, Rahul Sharma

Administrator [Syncfusion]
Replied On April 18, 2006 04:23 PM UTC

Hi Rahul, You can make the column width auto fit, by handling the QueryColWidth event in TableModel class. In the event, the size of the column can be changed depend on the ClientSize. The AllowEdit property is working fine in our latest version ( 4.1.0.62 ), please refer to the sample for more details. Sample : ColumnWidthResizing_GGC Let us know if this helps. Best regards, Madhan

Rahul Sharma
Replied On April 21, 2006 08:53 AM UTC

Thanks for the Help and regarding NonEditable problem ,I believe as i dont have the version mentioned by you i will have to set that programmatically. Thanks for the Sample code as well, if possible do add the VB code for that sample.

Administrator [Syncfusion]
Replied On April 21, 2006 09:13 AM UTC

Hi Rahul, Thanks for your update. Please follow the forum thread below for the download details of the latest version(4.1.0.62) of EssentialStudio http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=41784 Here is a modified VB sample. http://www.syncfusion.com/Support/user/uploads/VB_6d16efd0.zip Please let us know if this helps. Thanks for choosing Syncfusion Products. Regards, Haneef

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

;