aspose file tools*
The moose likes Other Languages and the fly likes Dojo Data grid Issue in Firefox 4.0/5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Dojo Data grid Issue in Firefox 4.0/5.0" Watch "Dojo Data grid Issue in Firefox 4.0/5.0" New topic
Author

Dojo Data grid Issue in Firefox 4.0/5.0

Kameshwar Singh
Greenhorn

Joined: Sep 24, 2011
Posts: 2
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

Joined: Sep 24, 2011
Posts: 2
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dojo Data grid Issue in Firefox 4.0/5.0
 
Similar Threads
New to Dojo JSON
Struts + Dojo + jQuery: Unwanted textarea in Chrome browser
dojo grid EnhancedGrid
DHTMLXGrid multiple header colspan issue.
A sample code having json dojo and a servlet