jQWidgets Forums

jQuery UI Widgets Forums Angular SaveState Support in RTL

Tagged: ,

This topic contains 3 replies, has 2 voices, and was last updated by  Hristo 4 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • SaveState Support in RTL #113082

    Nasco
    Participant

    i’m currently Facing a problem in loading State in RTLMode while using JQXGrid if i switched from rtl to ltr ,
    ex: saving state and loading it in either rtl or ltr work well but if i used the saved state of any mode and load it in the opposite mode i faced 2 problems : 1- the columns order are different of the loading state
    2- in case of load a sorted column an error message of not reading element of null in jqxsort.js

    SaveState Support in RTL #113087

    Hristo
    Participant

    Hello Nasco,

    Could you provide us with one simplified example that demonstrates your case?
    Meanwhile, I would like to suggest you switch between the RTL and LTR modes after you load the state.
    Because the loadstate method by default includes these options: “sort column, sort order, page number, page size, applied filters and filter row values, column widths and visibility, cells and rows selection and groups”.
    I look forward to hearing from you.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

    SaveState Support in RTL #113091

    Nasco
    Participant

    Hello Hristo,

    thanks for your reply i figured out the problem , after drag & drop of column index changed in RTL so i want to keep the save order of columns in LTR for example i changed the index of each column manually to follow the same index in the previous Mode .

    is there a better way to make it through saveState ?

    thanks in advance,

    SaveState Support in RTL #113093

    Hristo
    Participant

    Hello Nasco,

    This is the way that works both (the savestate and the loadstate methods).
    Maybe if you provide us with more details about what you want to achieve then I could provide you a better solution.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.