Forum
01:27
10/08/2009
Hi Tony!
I wanted to use grouping feature in one my new project and have some problem in very simple grid. After some experiments I find out that these problems exists only in jqGrid 3.8 (I used the last version published on 24.08.2010).
You can reproduce the problems in two examples: http://www.ok-soft-gmbh.com/jq.....id/Log.htm using jqGrid 3.7.2
and
http://www.ok-soft-gmbh.com/jq...../Log38.htm using jqGrid 3.8 beta (24 august 2010).
I hope you could easy localize and fix the problem in jqGrid 3.8 code.
Best regards
Oleg
00:49
10/09/2010
Hi Olegk,
I'm a new user of jqgrid but also in this forum. I will try to help you...sorry if it doesn't work...
Your second hardcopy reminds me a problem I had about problem of columns and data. I forgot a hidden column (id) in the code below :
while($row = mysql_fetch_array($result,MYSQL_ASSOC)) {
echo "<row id='". $row['id']."'>";
echo "<cell>". $row['id']."</cell>";
echo "<cell><![CDATA[".htmlentities($row['name'])."]]></cell>";
...
echo "</row>";
}
Hope it helps
Thierry
01:09
10/08/2009
Hi Thierry,
Thank you for advice, but I have another problem. In my grid there are no hidden data and the data displayed correctly in the last released version of jqGrid 3.7.2. The problem is that the same grid with the same JSON data are displayed in a wrong way in the new 3.8 beta version of jqGrid. The same grid with the same data work also with old jqGrid 3.6.5: http://www.ok-soft-gmbh.com/jq..... (but of cause without local paging and sorting features). So it looks really like a new bug in 3.8 beta version.
Best regards
Oleg
12:25
Moderators
30/10/2007
Hello,
Oleg. Thanks. Yes it is a "partial" bug.
The problem that apper is that your table definition is like this:
<table><tr><td></td></tr></table>
In previous versions we direct do a empty on the element and then fill the data.
In 3.8 (because of grupping) we have a constat first row (height = 0).
Constructing this I forgot to emty the initial content.
Also fixed.
The definition that you have I suppose is that you check the html and a table tag without tr and td definitions give a error in html parsing.
Tony
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.
13:43
10/08/2009
Hi Tony!
I am glad that this but is so easy to fix.
By the way the example HTML File from My First Grid !DOCTYPE XHTML 1.0 Strict and <table id="list"></table> which is wrong how you can easy verify on http://validator.w3.org/. The table element must has at least one <tr> or <tbody> and <tr> has at least one <td>. So to have correct XHTML 1.0 Strict code I inserted <tr><td></td></tr> inside of <table></table>. In Transitional version of XHTML everything is not so strict. But probably you know all this already.
Thanks for fixing the bug.
Best regards
Oleg
Most Users Ever Online: 715
Currently Online:
37 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