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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

gridrangeinfo updated automatically

Thread ID:





12574 Apr 2,2004 11:31 AM UTC Apr 2,2004 11:53 AM UTC WinForms 1
Tags: GridControl
Asked On April 2, 2004 11:31 AM UTC

How can you maintain consistent gridrangeinfo objects so that their dimension (Top, Bottom, Left and Right) match the grid if you add e.g. a row in the grid before your range.Top? For instance, say that you have a 5x5 grid and two ranges, A(row1 to row3) and B(r4,r5) and you save references to the GridRangeInfo objects. How would you insert a row btw 2 and 3 (that should be included in range A) while ending up with references to the ranges A(row1,row4 including the new row) and B(row5,row6). I can't seem to do this with having to manually update, change the GridRangeInfo references. Should I hold a reference to the GridRangeInfo at all or is this object detached from the grid? Any help would be greatly appreciated:)

Administrator [Syncfusion]
Replied On April 2, 2004 11:53 AM UTC

Create a GridRangeInfoList object to hold your ranges. Then you can use GridRangeInfoList.InsertRows/GridRangeInfoList.InsertCols methods to update the ranges in the rangelist.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon