jQWidgets Forums
Forum Replies Created
-
Author
-
August 28, 2013 at 6:00 pm in reply to: Get Value from one column to reuse in another Get Value from one column to reuse in another #27883
Hi Peter,
I checked the version and that was the issue, it seems like this feature was recently added.
Thanx!!
August 28, 2013 at 3:22 pm in reply to: Get Value from one column to reuse in another Get Value from one column to reuse in another #27866Hi Peter,
I think I’m using the wrong syntax because this is not working. Here is what I’m using:
columns: [ { text: 'COLUMN1', datafield: 'COLUMN1', columntype: 'textbox', filtertype: 'textbox', filtercondition: 'contains', width: 320, minwidth: 320, pinned: true, cellsrenderer: function (row, columnfield, value, defaulthtml, columnproperties, rowdata) { if (value != "") { return '<a href="index.php?s=' + rowdata.COLUMN2 + '">' + value + '</a>'; } else { return '<a href="index.php?s=' + value + '">' + value + '</a>'; }} }, { text: 'COLUMN2', datafield: 'COLUMN2', columntype: 'textbox', filtertype: 'textbox', filtercondition: 'contains', width: 920, minwidth: 920, cellsalign: 'left', align: 'left' } ]
Any suggestions?
Thanx!
August 15, 2013 at 8:05 pm in reply to: Get Value from one column to reuse in another Get Value from one column to reuse in another #26907Thanx Peter, I’ll give it a try later
May 8, 2013 at 4:58 pm in reply to: Disable jqxGrid row edit when value in one column = 1 Disable jqxGrid row edit when value in one column = 1 #20793Kalus,
Thanx for the reply. I’m not sure about the syntax.
If I want to access COLUMN 15 could it be something like the line below?
$(‘#jqxGrid’).jqxGrid(‘getrowdata’, args.rowindex(’15’));
Or is it something else…?
Thanx!!
May 8, 2013 at 1:20 pm in reply to: Disable jqxGrid row edit when value in one column = 1 Disable jqxGrid row edit when value in one column = 1 #20773So there is no way to parse the data in a specific row Peter?
I don’t know if I’ve been clear enough but if you read my initial post I do know about the cellbeginedit function and all I’m looking for is an example of how to get the value from a specific column so that I can build the condition.
May 7, 2013 at 6:24 pm in reply to: Disable jqxGrid row edit when value in one column = 1 Disable jqxGrid row edit when value in one column = 1 #20692Peter,
Thanx for the example, I saw that millions of times before but as you may probably realize if you read the entire post is that I need to be able to build a condition based on one column’s value, if the value of a specific column is 1 disable it, if the value is 0 enable it.
I hope I’m clear now.
Thanx!
May 7, 2013 at 3:35 pm in reply to: Disable jqxGrid row edit when value in one column = 1 Disable jqxGrid row edit when value in one column = 1 #20681Sorry, after a word with my boss the requirements just changed. The 3 columns will be shown in the grid as checkboxes so I need to get the data from one of the visible rows as its not hidden anymore.
Thanx again!!
-
AuthorPosts