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. Image for the cookie policy date
close icon

Resize of Gridlist control

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 ?


1 Reply

SR Sri Rajan Syncfusion Team April 19, 2008 04:12 AM UTC

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



Loader.
Live Chat Icon For mobile
Up arrow icon