Forum
02:28
03/12/2010
I using the latest jqGrid (4.2.0) and the latest ckeditor (3.6.2). Via various thread around I have the two working together on modal edit dialogs (hopefully that makes sense).
Everything works great until a data cell which hold html data (to be edited by ckeditor) contains a table tag. The may be an issue with other tags but so far I have only experienced a problem with tables (and I have used this to edit all sorts of documents). Once a cell contains a table, the following throws an exception: var va = $(this).getRowData(id);
The exception is "l.p.colModel[x] is undefined", and Firebug points to jquery.jqGrid.min.js line 136.
Other rows on the same grid edit without issue, provided there is no table tag with the cell. I may be able to provide sample code if needed, but it may be big.
10:44
10/08/2009
You should use really the latest version of jqGrid which are 4.3.1 now. Moreover you should use jquery.jqGrid.src.js instead of jquery.jqGrid.min.js if you post an error. You should also always write which web browser you used in your tests. The best would be if you post a small demo which can be used to reproduce the problem. Could you post additional information?
Best regards
Oleg
13:17
18/04/2012
@Shift4SMS
I was facing the same issue. After debugging the issue I figured out that its a Bug in JQGrid (i am using latest 4.3.1). Whenever you define a table in any column (using column formatter) and try to retrieve the value of that column later (given that you have also defined your unformatter functions properly) you will face this issue.
Its fix is as follows:
Open the source file jquery.jqGrid.src.js and replace the following line
$('td',ind).each( function(i) {
with this line
$('td[role="gridcell"]',ind).each( function(i) {
and you are Done ! 🙂
16:20
Moderators
30/10/2007
Hello,
This is correct. Thanks - fixed.
Regards
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
57 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66