jQWidgets Forums

jQuery UI Widgets Forums TreeGrid Treegrid ordering

This topic contains 27 replies, has 2 voices, and was last updated by  Peter Stoev 10 years, 2 months ago.

Viewing 15 posts - 1 through 15 (of 28 total)
  • Author
  • Treegrid ordering #67427

    thd
    Participant

    Hi there,

    I need a way to put selected rows into another Parent.
    I already build a database connection and it updates to it. somehow its acting a little strange as its not updating teh field directly.
    I have a field called Parent from this its making the hierarchy. now I want to change the parent of mulitple and write this into the database.

    wwe are planning to purchase it for our projects and this should be possible.

    Best
    THD

    Treegrid ordering #67440

    Peter Stoev
    Keymaster

    Hi THD,

    If you want to change the source of the TreeGrid, you will have to set its source property to new instance of jqxDataAdapter. The “getSelection” method allows you to get the TreeGrid’s selected rows – http://jsfiddle.net/jqwidgets/D2S5r/

    Best Regards,
    Peter Stoev

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

    Treegrid ordering #67473

    thd
    Participant

    Hi Peter,

    what you exactly mean with “set its source property to jqDataAdapter”? I don’t wanna change the source.
    I want to have a button which can set a parent field of multiselection in a grid to the id of a clicked row.

    i knew this fiddle and I wonder that is only showing one selection?

    best
    Theo

    Treegrid ordering #67478

    Peter Stoev
    Keymaster

    Hi THD,

    Setting a parent field of multi-selection means that you want to re-order the data. This can’t happen. If you somehow update your data source with custom code, then you can update the TreeGrid, too by setting its ‘source’.

    Best Regards,
    Peter Stoev

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

    Treegrid ordering #67487

    thd
    Participant

    Hi Peter,

    i appreciate your answer and I am veryt hankful for support.
    but should not be a basic behaviour of a treegrid that it is poossible to reorder things?

    like somebody is in one department and HR should move him to another?

    With best regards
    Theo (ThD)

    Treegrid ordering #67491

    Peter Stoev
    Keymaster

    Hi THD,

    No, I don’t think it is basic behavior to reorder rows, but this is my opinion. We will consider implementing such functionality in future.

    Best Regards,
    Peter Stoev

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

    Treegrid ordering #67493

    thd
    Participant

    Thank you very much.
    Why the COde for the Treegrid is different from the grid?
    is there a way to implement the hierachical structure in Grid?

    I need an interface, where the user can reorder things into self named parent objects by himself.
    Can I implement this somehow?

    any help is appreciated.

    Best
    Theo (thd)

    Treegrid ordering #67495

    Peter Stoev
    Keymaster

    Hi THD,

    They’re different widgets. Rows Reordering however is not supported in jqxGrid, too.

    Best Regards,
    Peter Stoev

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

    Treegrid ordering #67496

    thd
    Participant

    Hi Peter,

    Is there a widget can do this?

    do I have a chnace to implement this?

    best
    Theo

    Treegrid ordering #67498

    Peter Stoev
    Keymaster

    Hi THD,

    1. There is no widget which does Rows reordering in jqxGrid/jqxTreeGrid.
    2. For the second one – I do not know. Depends on your development skills.

    Best Regards,
    Peter Stoev

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

    Treegrid ordering #67499

    thd
    Participant

    Hi Peter,

    1. thats a pity..any other widget?
    2. they are quite good in php and Jquery somehow.
    can I select multiple rows and prevent selecting the row where I click the command button?
    so I will write a code behind change the fields of the selected rows.
    how to see the getselection method for more than one row?

    best
    Theo (thd)

    Treegrid ordering #67500

    thd
    Participant

    If I buy the licence today is help for this included in premium support?

    Treegrid ordering #67501

    Peter Stoev
    Keymaster

    Hi THD,

    Custom features development is not included in the subscription plans.

    Best Regards,
    Peter Stoev

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

    Treegrid ordering #67503

    thd
    Participant

    Ok than point 2.
    is the question:
    can I select multiple rows and prevent selecting the row where I click the command button?
    so I will write a code behind change the fields of the selected rows.
    how to see the getselection method for more than one row?

    what is premium support then?

    Best
    ThD

    Treegrid ordering #67504

    Peter Stoev
    Keymaster

    Hi THD,

    Support is about existing functionality i.e what you see in demos and API. For custom features development, you can write to sales@jqwidgets.com.

    Best Regards,
    Peter Stoev

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

Viewing 15 posts - 1 through 15 (of 28 total)

You must be logged in to reply to this topic.