jQuery UI Widgets Forums Grid Quest Grid Column Order

This topic contains 2 replies, has 2 voices, and was last updated by  Thomas Schmidt 9 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Quest Grid Column Order #70558

    Thomas Schmidt
    Participant

    Hi together

    Is there an easy way to ask for the current order of columns of a grid?
    I found method ‘savestate’ which creates an object with property ‘columns’.
    The child properties of ‘columns’ represent the columns and I get them in the correct order.

    But as long as I know, the order of object properties is not well defined. Currently it seems to represent the order, but is this reliable?

    Or is there any other easy way to get the column order?

    Thanks for your answer
    THomas

    Quest Grid Column Order #70561

    Dimitar
    Participant

    Hi Thomas,

    This is a reliable method to get the column order. Moreover, each of the column objects has a field index which is 0 for the first column, 1 for the second one, etc.

    Best Regards,
    Dimitar

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

    Quest Grid Column Order #70578

    Thomas Schmidt
    Participant

    Thank you so much

    Thomas

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

You must be logged in to reply to this topic.