jQWidgets Forums

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • in reply to: Treegrid ordering Treegrid ordering #67642

    thd
    Participant

    Why not?


    thd
    Participant

    how do I do that?

    how to get the events?

    why it can’t be simply like the grid?
    is there a way making the normal grid a treegrid (some tweaks)


    thd
    Participant

    Hi Peter,

    but the getSelection Method gets the selected rows not these one which are checked by the checkboxes.

    Best
    ThD

    in reply to: Treegrid ordering Treegrid ordering #67628

    thd
    Participant

    Hi Peter,

    Ok we found the solution.

    I have the command button.
    After clicked I get all the checkboxes selected in the treegrid and update them all into a parent field.

    can you show me how to this?

    Currently its like that
    fields

    [checkbox] id | parent | any values | command buttons

    in command buttons i have one
    which is called move and this one
    has now

    
     $(".moveButtons").on('click', function (event) {
    			var selection = $("#jqxtreegrid").jqxTreeGrid('getSelection');
    		
    			for ( selector in selection){
    			var parent = selection[0].id;
    			console.log(parent);
    			}
    			
    				                var rows = $("#jqxtreegrid").jqxTreeGrid('selectedrowindexes');
                    var selectedRecords = new Array();
                    for (var m = 0; m < rows.length; m++) {
                        var row = $("#jqxtreegrid").jqxTreeGrid('getrowdata', rows[m]);
                        console.log(selectedRecords[selectedRecords.length] = row);
                    }
    

    now it should edit all with checkbox selected and give them the id of parent into the parent field.
    Please help

    best
    Thd


    thd
    Participant

    Hi there,

    can you post the same xample for the Treegrid?
    Best
    THD

    in reply to: Treegrid ordering Treegrid ordering #67529

    thd
    Participant

    an edit multiple would be already good?

    in reply to: Treegrid ordering Treegrid ordering #67528

    thd
    Participant

    Dear Peter,

    any solution for this?

    I need this very desperatly.
    Best
    THD

    in reply to: Treegrid ordering Treegrid ordering #67520

    thd
    Participant

    Hi Peter,

    I have this and its loosing the selected rows when I click on the button in another row
    http://jsfiddle.net/z64dcb36/

    it can have no data as it is binded to database.

    best
    thd

    in reply to: Treegrid ordering Treegrid ordering #67513

    thd
    Participant

    Hi Peter,

    how to prevent a command button to select the row?

    best
    ThD

    in reply to: Treegrid ordering Treegrid ordering #67505

    thd
    Participant

    and what is with this?
    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?

    in reply to: Treegrid ordering 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

    in reply to: Treegrid ordering Treegrid ordering #67500

    thd
    Participant

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

    in reply to: Treegrid ordering 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)

    in reply to: Treegrid ordering Treegrid ordering #67496

    thd
    Participant

    Hi Peter,

    Is there a widget can do this?

    do I have a chnace to implement this?

    best
    Theo

    in reply to: Treegrid ordering 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)

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