Grid state persistent issue

Posted by: fsegui on 20 July 2022, 7:07 am EST

    • Post Options:
    • Link

    Posted 20 July 2022, 7:07 am EST - Updated 3 October 2022, 1:15 pm EST

    Hi,

    I’ve got an issue with persisting the grid state.

    I’ve setup a flexgrid with a grouppanel. The flexgrid is configured to allowsorting only on singlecolumn.

    If I group on a column, I can then sort on another column. Behaviour is OK.

    I then save the grid state and close the application.

    I restart the application, load the grid state. Grouped column and column sorted are OK. But then if I click on another column, it does not reset the column sorted and it add another column to the sorting…

    What am I doing wrong?

    Here is a GIF :

    And here the sample appGroupPanelUpdate_FG.zip

  • Posted 20 July 2022, 6:13 pm EST

    Hi Florent,

    Thank you for providing the sample and gif. We could observe the behavior at our end. We have reported it to the development team and will let you know as soon as we have an update.

    [Internal Tracking ID: C1WIN-27757]

    Regards,

    Kartik

  • Posted 21 July 2022, 1:06 am EST

    Hi Kartik,

    Ok, I’ll wait for the feedback.

    I’ve got another issue. As a workaround, I’ve changed the AllowSorting to MultiColumns (hence providing a new functionnality to my users).

    If I reset the sortdefinition, the sort indexes are not cleared.

    See GIF & sample

    GroupPanelUpdate_FG2.zip[img]https://gccontent.blob.core.windows.net/forum-uploads/file-6ed2495c-f572-4fa5-b630-e54da557e039.gif[/img]

  • Posted 21 July 2022, 1:08 am EST

    Also, if a column is grouped, it’s impossible to reset the sort order by code…

  • Posted 21 July 2022, 3:41 pm EST

    Hi Florent,

    Thank you for providing the detailed information. We have escalated both of your observations to the development team and will update you as soon as possible. Apologies for the inconvenience.

    [Internal Tracking ID: C1WIN-27761]

    Regards,

    Kartik

  • Posted 21 July 2022, 6:17 pm EST

    Hi Kartik,

    I need a workaround for this. I cannot force the user to Ctrl+Click on the column header.

    Is there a delegate that I can call for this?

    Regards

    Florent

  • Posted 24 July 2022, 5:48 pm EST

    Hi Florent,

    We completely understand your concerns. We are getting in touch with the development team to discuss a workaround for this issue and will let you know as soon as possible. We apologize for the inconvenience caused to you and thank you for your patience.

    Kind Regards,

    Kartik

  • Posted 21 August 2022, 5:45 pm EST

    Hi Kartik,

    Any news on this?

    Thanks

    Regards

    Florent

  • Posted 22 August 2022, 10:30 pm EST

    Hi Florent,

    Sorry for the delay in response. The development team has suggested a small workaround (to clear the Sort indices when the SortDefinition is reset) by switching the AllowSorting property back to SingleColumn when the sort is reset and after the first sorting, changing it back to MultiColumn. Please refer to the updated sample showing the same.

    Unfortunately, there is no workaround for resetting the Sort when the columns are grouped. We apologize for all the inconvenience caused to you.

    GroupPanelUpdate_FG2_WA.zip

    Thanks, and Kind Regards,

    Kartik

  • Posted 23 August 2022, 12:37 am EST

    Hi Kartik,

    Thanks for your reply.

    For grouped columns, is it taken into account by dev team to correct it in a future hotfix?

    Regards,

    Florent

  • Posted 23 August 2022, 2:37 pm EST

    Hi Florent,

    As per the development team, the ETA for the grouped columns sorting issue fix is the 2022v3 release.

    Regards,

    Kartik

  • Posted 16 November 2022, 6:56 am EST

    Hi Kartik,

    Any news on this? When is the 2022v3 planned?

    Thanks

    Florent

  • Posted 16 November 2022, 4:30 pm EST

    Hi Florent,

    We do not have a definite date for the release, the ETA for the 2022v3 release is the first week of December.

    Regards

    Avnish

  • Posted 22 December 2022, 12:03 am EST

    Hi Florent,

    We are glad to let you know that the following fixes are now available in the latest 2022v3(584) release.

    1. When a column is grouped and another column is sorted (AllowSorting = SingleColumn), and the Grid state is saved and restored, sorting another new column now clears the previously sorted column.

    2. When AllowSorting = MultiColumn, clearing the SortDefinition now clears the Sort indexes.

    3. Now, the sort order can be reset using the SortDefinition property, when the column is grouped.

    Thanks, and Kind Regards,

    Kartik

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels