Home Forums WinForms controls Xceed Grid for WinForms Repositioning columns in Grid

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #12981 |

    Hi,

    We are persisting Grid preferences in an xml file. We only save changes when the user closes the Windows form. In between Form_Load and Form_Closing, we simply let the grid handle things. But, every time the user clicks, holds and drags a column to reposition the column, the VisibleIndex property is being set to the last index. Does anyone have any knowledge of this? What is the way around it?

    Thanks

    Imported from legacy forums. Posted by bonnetea (had 3019 views)

    User (Old forums)
    Member
    Post count: 23064

    Hi all, If anyone knows ANYTHING about this, please let me know. I am dangerously close to release and am in a bit of a crunch.

    Thanks

    Imported from legacy forums. Posted by bonnetea (had 235 views)

    User (Old forums)
    Member
    Post count: 23064

    All,

    It turns out that the AllowColumnReorder property had been set to false. Is that standard behavior for the grid? If the AllowColumnReorder is set to false and the user tries to reorder the columns, 1) they should not be able to drag the column and 2) the column should not be placed at the end of the visible order.

    Imported from legacy forums. Posted by bonnetea (had 408 views)

    User (Old forums)
    Member
    Post count: 23064

    bonnetea:

    Are you using the newest grid patch? (2.0.102) ?

    There is an error in v. 2.0.101:
    “Corrected an issue when ColumnManagerRow.AllowColumnReorder was set to false and still permitted column reorder. “

    Imported from legacy forums. Posted by C# (had 3987 views)

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.