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

Bad selection after adjusting the row height.

I use Syncfusion 5.2.0.25 GGC, WinForms. After adjusting a row height over QueryRowHeight all selected rows after the adjusted row are bad. Let use the example from the installation “CutCopyPasteSample”. Just add the following code:

GridTableModel tbl = gridGroupingControl1.GetTableModel("MarkSheet");
tbl.QueryRowHeight += tbl_QueryRowHeight;

at the end of the Form1_Load method and then:

void tbl_QueryRowHeight(object sender, GridRowColSizeEventArgs e)
{
if (e.Index == 2)
{
e.Size = 10;
e.Handled = true;
}
}

Now clicking on a nested Table each record except the first one (with index 2) will produce strange selections like in attached window. The multiple selection doesn’t work properly.
Is there anything I must do in this case?

For any idea thank you in advance.

Best regards,
Emanuil Achim




BadSelections_2c453836.zip

1 Reply

JJ Jisha Joy Syncfusion Team September 9, 2009 09:56 AM UTC

Hi Emanuil,

Thank you for posting query to us.

By default GridGroupingControl does not support individual row height. In order to acheive the feature of resizeable row height we have to use customEngine as in "ResizeableRows" sample in the sample browser.

You could access the sample from the following location from the Sample Browser:

Grid grouping Samples--->grouping Grid Layout--->ResizableRows

Please try this and let me know if this help you out.

Regards,
Jisha

Loader.
Live Chat Icon For mobile
Up arrow icon