jQWidgets Forums
Forum Replies Created
-
Author
-
November 12, 2013 at 4:54 pm in reply to: Checkbox tick not working Checkbox tick not working #32515
Problem resolved.
I have not added
Now the code is working..November 10, 2013 at 3:59 pm in reply to: Fetch row data in jqxgrid and post it to a php file Fetch row data in jqxgrid and post it to a php file #32338Thanks peter… At last you made my first Jquery code working..
Sorry for troubling you…Since Im a newbie its littlebit confusing and difficult to understand..
November 10, 2013 at 1:24 pm in reply to: Fetch row data in jqxgrid and post it to a php file Fetch row data in jqxgrid and post it to a php file #32335This is my boundRow array
ShippedDate : Wed Jul 31 1996 05:30:00 GMT+0530 (India Standard Time),
Freight : 146.06,
ShipName : Ernst Handel,
ShipAddress : Kirchgasse 6,
ShipCity : Graz,
ShipCountry : Austria,
uid : 15I tried boundrow[ShipName], But it didn work..
So How to get the ship name from it ?November 10, 2013 at 11:32 am in reply to: Fetch row data in jqxgrid and post it to a php file Fetch row data in jqxgrid and post it to a php file #32332Also the below code don give any output..
$("#sendButton").click( function() { var selectedrowindexes = $("#jqxgrid").jqxGrid('getselectedrowindexes'); var rowscount = $("#jqxgrid").jqxGrid('getdatainformation').rowscount; selectedrowindexes.sort(); for (var m = 0; m < selectedrowindexes.length; m++) { var selectedrowindex = selectedrowindexes[selectedrowindexes.length - m - 1]; if (selectedrowindex >= 0 && selectedrowindex < rowscount) { var boundRows = $("#jqxgrid").jqxGrid('getboundrows'); var boundRow = boundRows[0]; var data = $('#jqxGrid').jqxGrid('getrowdata', boundRow); var rowID = boundRows.uid $('#string').append('<span class="vat">'+ data + rowID +'</span>'); } } });
So pls tell me what to modify in it peter…
November 10, 2013 at 11:21 am in reply to: Fetch row data in jqxgrid and post it to a php file Fetch row data in jqxgrid and post it to a php file #32330$("#sendButton").click( function() { var selectedrowindexes = $("#jqxgrid").jqxGrid('getselectedrowindexes'); var rowscount = $("#jqxgrid").jqxGrid('getdatainformation').rowscount; selectedrowindexes.sort(); for (var m = 0; m < selectedrowindexes.length; m++) { var selectedrowindex = selectedrowindexes[selectedrowindexes.length - m - 1]; if (selectedrowindex >= 0 && selectedrowindex < rowscount) { var boundRows = $("#jqxgrid").jqxGrid('getboundrows'); var data = boundRows[0]; $('#string').append('<span class="vat">'+ data +'</span>'); } } });
When I use this code I get the output as
[object Object]
How to get the specific row data ?
On adding
var rowID = rowData.uid;
, I get the output as undefined..
November 10, 2013 at 2:39 am in reply to: Fetch row data in jqxgrid and post it to a php file Fetch row data in jqxgrid and post it to a php file #32321Hi peter…
I added this code to checkboxcolumn.htm file…
But it doesn’t work…Correct me..
$("#sendButton").click( function() { var selectedrowindexes = $("#jqxgrid").jqxGrid('getselectedrowindexes'); var rowscount = $("#jqxgrid").jqxGrid('getdatainformation').rowscount; // begin update. Stops the Grid's rendering. selectedrowindexes.sort(); // delete the selected rows by using the 'deleterow' method of jqxGrid. for (var m = 0; m < selectedrowindexes.length; m++) { var selectedrowindex = selectedrowindexes[selectedrowindexes.length - m - 1]; if (selectedrowindex >= 0 && selectedrowindex < rowscount) { var id = $("#jqxgrid").jqxGrid('getrowid', selectedrowindex); var data = $('#jqxGrid').jqxGrid('getrowdata', id); $('#string').append('<span class="vat">'+ data +'</span>'); } } });
November 9, 2013 at 8:38 am in reply to: Fetch row data in jqxgrid and post it to a php file Fetch row data in jqxgrid and post it to a php file #32303Ok sir.. But How to get the rowid of the selected checkbox placed inside the grid?
I can call gridcellvalue method by using that rowid only.November 8, 2013 at 6:25 pm in reply to: Fetch row data in jqxgrid and post it to a php file Fetch row data in jqxgrid and post it to a php file #32285Im just asking to add submit button to the program – http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/index.htm?(arctic)#demos/jqxgrid/checkboxcolumn.htm
Once we click submit button, then the first name corresponding to the checked checkbox must be shown in another div.
How to do that ?November 8, 2013 at 1:14 pm in reply to: Select multiple rows and get there values using checkbox. Select multiple rows and get there values using checkbox. #32265The above code does not work for me…
Any modification needed ? -
AuthorPosts