jQuery UI Widgets Forums Grid setcolumnindex with endupdate

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • setcolumnindex with endupdate #71920

    jahnvi25
    Participant

    i am setting
    table.jqxGrid(‘showcolumn’,’col1′); for like 8 to 10 columns. and i am setting their indexes as well..
    if i do all of these in
    table.jqxGrid(‘beginupdate’);
    //show columns
    // set the indexes
    table.jqxGrid(‘endupdate’);

    then some of the columns dont display title(checked.. those divs are hidden)
    but if i do
    table.jqxGrid(‘beginupdate’);
    //show columns
    table.jqxGrid(‘endupdate’);
    // set the indexes

    then all titles are displayed properly.. so what is the best fastest way to do this ?

    Thanks

    setcolumnindex with endupdate #71945

    Dimitar
    Participant

    Hello jahnvi25,

    We confirm the reported issue. Until it is fixed, you can use your own workaround – calling setcolumnindex after endupdate.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    setcolumnindex with endupdate #71978

    jahnvi25
    Participant

    Thanks for solution.. but if i use setcolumnindex after endupdate.. then it slows down grid performance.. but for now as workaround to that.. i am just setting right order of columns and reloading data..

    setcolumnindex with endupdate #72006

    Dimitar
    Participant

    Hi jahnvi25,

    The issue can be solved by calling beginupdate with parameter true:

    table.jqxGrid('beginupdate', true);

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.