jQWidgets Forums

jQuery UI Widgets Forums Grid I can't add columns

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • I can't add columns #102736

    mathod
    Participant

    Hello !
    I think this question is already asked, but never read solution about…
    I don’t know how can i add columns .. I can add row but no columns..
    I need to have something like that

    http://image.noelshack.com/fichiers/2018/46/2/1542066948-heberger.png

    if i click on button Add, a new column is added…
    I know it’s possible to do that with row, but i prefer with columns because i want my grid on the width and not on the height

    I hope you understand my problem..
    Thanks a lot
    Math

    I can't add columns #102742

    Hristo
    Participant

    Hello Math,

    Yes, we have similar discussions about this.
    I would like to suggest you look at this forum topic:
    https://www.jqwidgets.com/community/topic/adding-columns-on-the-fly/#post-21110
    It demonstrates how to add new columns dynamically.
    The main step is to set new columns for the columns property of the jqxGrid.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    I can't add columns #102743

    mathod
    Participant

    I have already read this post but in this example, names of columns are define previously
    I need to add columns, and change her name…
    When i add a columns their names are define by “null” and after, i can change with edit.
    But i don’t know if it’s possible with jqxgrid… ?

    I can't add columns #102756

    Hristo
    Participant

    Hello Math,

    You could create the columns and items without some members but without the datafield not, you should have a name for each one column.
    It is possible to create it with ‘null’ but after that, you cannot use methods of the jqxGrid.

    Maybe if you provide me with more details I could try to provide you with a solution.
    Please, take a look at this example.

    Best Regards,
    Hristo Hristov

    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.