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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Column Reordering not Behaving as Expected

Thread ID:

Created:

Updated:

Platform:

Replies:

116934 Jul 3,2014 04:47 PM UTC Sep 2,2014 06:36 AM UTC ASP.NET MVC 2
loading
Tags: Grid
Rick Thompson
Asked On July 3, 2014 04:47 PM UTC

S 2013
Syncfusion MVC: 12.1451.0.49

I'm creating a web page that allow the user to create various layouts for the grid. For example one user may prefer to hide/show certain columns, change the column order, or change the column widths.

I notice that when a column reorder takes place the column width does not "follow" the column. That is to say wherever the column is dropped the apparent width is what was previously in the position columns to the right of the insertion point slide to left, as expected, but take on the width of whatever the previous column was.

The real problem though is if I get the column information of a column just moved the original width is still given in the column data. For example if I move a column and then using something like gridObj.getColumnByField("...") the Width is still the original width even though on the display it is not.

The behavior is consistent in IE, Firefox, and Chrome.

One more question, is there methods to retrieve the layout and also restore the layout?

Thanks,

Rick

Madhu Sudhanan P [Syncfusion]
Replied On July 4, 2014 12:53 PM UTC

Hi Rick


Thank you using Syncfusion products.


Query #1: “when a column reorder takes place the column width does not "follow" the column”


We have confirmed that the issue with "Width not changed while reordering column" is a defect and we have logged a defect report. The fix for this issue is estimated to be available on Volume 2, 2014 Service Pack release.

 

Query #2: “is there methods to retrieve the layout and also restore the layout?”

 

We can maintain the grid state using “persist” in Grid. When the Persist is set as true, the grid state will be stored in the localStorage and the grid will be rendered using the data in localStorage while refreshing. Please refer our online demo for State Maintenance in  Grid.

 

http://mvc.syncfusion.com/demos/web/Grid/StateMaintenance

 

Please let us know if we misunderstood your requirement and please provide us more information regarding your requirement and the information provided would be more helpful for us to analyze the issue and provide you the solution as early as possible.


Regards,

 

Madhu Sudhanan P


Ragavee U S [Syncfusion]
Replied On September 2, 2014 06:36 AM UTC

Hi Rick,

 

We are glad to announce that our  Essential Studio service pack-2 for Volume 2, 2014 is rolled out and is available for download under the following link.

 

http://www.syncfusion.com/forums/117190/essential-studio-2014-volume-2-service-pack-2-release-v12-2-0-42-available-for-download

 

The fix for the issue “Width not changed while reordering column” is included in the above provided link.

 

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

 

Regards,

Ragavee U S


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.

Please sign in to access our forum

or the page will be automatically redirected to 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

;