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.

Resize of Gridlist control

Thread ID:

Created:

Updated:

Platform:

Replies:

73018 Apr 16,2008 07:34 AM Apr 19,2008 12:12 AM Windows Forms 1
loading
Tags: GridControl
Abhijit
Asked On April 16, 2008 07:34 AM

Currently, We're trying to implement search functionality. For that, We're using toolstrip(toolstrip textbox and button).Whenever user writes any search text in the toolstrip textbox and presses the button then we are showing the result in a gridlist control. But, some row of the gridlist is too large.So, we want to provide user the facility to expand the gridlist control (just like the way we can expand the dropdown of the autocomplete search).
Is there any way to resize the GLC in the same way one can resize the dropdown in which autocomplete search result is shown ?


Sri Rajan [Syncfusion]
Replied On April 19, 2008 12:12 AM

HiAbhijit,

Thank you for your patience.

Here is the code to control the size of the GridListControl.

this.gridControl1.CurrentCellShowingDropDown += new GridCurrentCellShowingDropDownEventHandler(gridControl1_CurrentCellShowingDropDown);

void gridControl1_CurrentCellShowingDropDown(object sender, GridCurrentCellShowingDropDownEventArgs e)
{
e.Size = new Size(100, 200);
}


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.

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.

;