jQWidgets Forums
Forum Replies Created
-
Author
-
May 5, 2014 at 7:58 am in reply to: How do I access the ID with nested json ? How do I access the ID with nested json ? #53928
here, I made a full example
http://jsfiddle.net/B5eH5/3/You can see that when you click on column 0 it returns the grid row id instead of the id
how do we return the id?
Note that I displayed id for the test but in reality we do not display the id in the grid
May 3, 2014 at 4:55 pm in reply to: How do I access the ID with nested json ? How do I access the ID with nested json ? #53899hum.
so I have it as
id: ‘SystemEmailgroupMapping>id’,Later in our code we try to get the rowId
$(“#jqxgrid”).on(“cellclick”, function (event) {
var column = event.args.column;
var rowindex = event.args.rowindex;
var columnindex = event.args.columnindex;
//when user wants to edit the record
if (columnindex == 0) {
var rowID = $(‘#jqxgrid’).jqxGrid(‘getrowid’, 0);so rowID should have the ‘SystemEmailgroupMapping>id’ associated with the first grid row (25) but it returns 0 (the first row in the grid)
What am I missing ?
May 3, 2014 at 6:01 am in reply to: How do I access the ID with nested json ? How do I access the ID with nested json ? #53886Yes but did not seems to work. I will try again
Are you saying that this is because the word Ack is just 3 letters ?
Hum, we have no sizes defined but the 100% on the grid width
I cannot figure out why the Ack Column is so smallThanks
PS: would be nice to be able to upload images directly here for help rather than in our own server, … saves on steps
could that be added ?
Thanks Peter, I get it now
my bad I thought
$(function() {
was the same as document ready ?!?!?works now
I also get error:
Uncaught TypeError: Object [object global] has no method ‘toThemeProperty’ VM3652 jqxmenu.js:7in the console
-
AuthorPosts