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.

Bad selection after adjusting the row height.

Thread ID:

Created:

Updated:

Platform:

Replies:

89806 Sep 7,2009 10:07 AM Sep 9,2009 05:56 AM ASP.NET Web Forms (Classic) 1
loading
Tags: Grouping
Emanuil Achim
Asked On September 7, 2009 10:07 AM

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

Jisha Joy [Syncfusion]
Replied On September 9, 2009 05:56 AM

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

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.

;