Forum
18:39
08/11/2008
Hi,
First, thank you to anyone who has worked on this wonderful Grid control. I have a simple grid with number values and just can't get it to display "0" digits. It's always blank!
I got the latest version, 3.3 and still have the same problem. I'm using Array binding and everything works great except any zero values. Does anyone know a solution ?? Is this a known bug ?
Any help would be greatly appreciated.
07:10
Moderators
30/10/2007
Hello,
Could you please post the configuration and
the array data
Regards
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.
10:21
08/11/2008
Hi,
Thank you for the feedback; Here's the markup used for the Grid configuration:
jQuery(
"#grdDtsRostNeeds").jqGrid({ datatype: "local"
, width: 185, height: 165, colNames:
[
'Position', 'Start', 'Filled', 'Need'
],
colModel: [
{ name:
'Position', index: 'Position', width: 45, align: "center", sorttype: "string"
},
{ name:
'Start', index: 'Start', width: 36, align: "center", sorttype: "int"
},
{ name:
'Filled', index: 'Filled', width: 36, align: "center", sorttype: "int"
},
{ name:
'Need', index: 'Need', width: 45, align: "center", sorttype: "int"
}], imgpath: gridimgpath,
multiselect:
false, caption:
"Roster Needs"
});
Then I use a JS method called BindGrid to bind the data from the array into the Grid:
function
BindGrid(gridID, data) {
$(gridID).clearGridData();
for (var
i = 0; i < max; i++)
$(gridID).addRowData(i + 1, data[i]);
}
11:14
Moderators
30/10/2007
Hello,
It seems to be a bug. Will make tests about this.
Currently you can use "0" instead of 0
Thank you
Regards
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.
07:15
Moderators
30/10/2007
Hello,
Fixed.
Thanks
Regards
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.
Most Users Ever Online: 715
Currently Online:
56 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