• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dojo Data grid Issue in Firefox 4.0/5.0

 
Kameshwar Singh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using dojo datadrid in one of my JSR 168 based portlet.
I am using dojo 1.4 version.

In dojo data grid I have used some hidden columns which need not to be displayed on UI but on Firefox 4.0/5.0 the hidden columns are being displayed on UI in Firefox 4.0/5.0.

Any help and suggestions will be highly acceptable.

Thanks
Kameshwar Singh

 
Kameshwar Singh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I got the solution of my problem.

Actually this is bug in dojo 1.4 version for FF4.0/5.0/Chrome/Safari browsers.
The bug is solved by changing in the file _Grid.js in folder dojox/grid the following code lines from:

if(d.hasAttr(th, "hidden")){
cell.hidden = d.attr(th, "hidden") == "true";
}

Change the above code to below code.

if(d.hasAttr(th, "hidden")){
cell.hidden = (d.attr(th,"hidden")=="true" || d.attr(th,"hidden")==true);
}


And this is working fine.



Thanks
Kameshwar Singh

SCJP 1.4
SCWCD 5.0
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic