jQWidgets Forums
Forum Replies Created
-
Author
-
Why not?
February 25, 2015 at 11:06 am in reply to: Select multiple rows and get there values using checkbox. Select multiple rows and get there values using checkbox. #67640how 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)February 25, 2015 at 9:59 am in reply to: Select multiple rows and get there values using checkbox. Select multiple rows and get there values using checkbox. #67634Hi Peter,
but the getSelection Method gets the selected rows not these one which are checked by the checkboxes.
Best
ThDHi 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 helpbest
ThdFebruary 25, 2015 at 9:00 am in reply to: Select multiple rows and get there values using checkbox. Select multiple rows and get there values using checkbox. #67626Hi there,
can you post the same xample for the Treegrid?
Best
THDan edit multiple would be already good?
Dear Peter,
any solution for this?
I need this very desperatly.
Best
THDHi 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
thdHi Peter,
how to prevent a command button to select the row?
best
ThDand 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?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
ThDIf I buy the licence today is help for this included in premium support?
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)Hi Peter,
Is there a widget can do this?
do I have a chnace to implement this?
best
TheoThank 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) -
AuthorPosts