Categories | Question details Back To List | ||
Grid showing white spaces with smart rendering Hello there! I have a question: First I had problems with Mozilla Firefox and Smart Rendering. There are often white spaces between the items which never appear. It was working in IE however. I was told that I have to set awaited height of the rows and I did that (I am using Version 1.4, so I have to use mygrid._srdh = xx since there is no function defined for this in 1.4. It works fine with Mozilla Firefox now but now it is not working in IE anymore. We also changed the style sheets, using smaller font and lower height for rows. So it worked before in IE using the old style-sheet and it didnt with Firefox. Now I am using another css-file and it works fine with Firefox now but not with IE anymore. What could be the issue? I know, posStart attribute has to be set correctly, but I think I did it right. And how can I upgrade from 1.4 to 1.5 so that everything keeps working correctly? My colleagues are using 1.5 and 1.6 in newer applications and they dont face this issue anymore. So probably upgrading should solve my problems! I was told before that I only have to change old files with these from Version 1.5 but this doesnt work. It only says dhtmlXHierarchy is not defined. Thx in advance! Answer posted by Support on Jul 08, 2008 08:33 >>What could be the issue? There are two possible reasons of problem - the height of row differs from defined one, it pretty possible that with same style sheet height of row is different in IE and FF ( default skins use the same height , but it can differ in case of custom styling ) - the multiline content of cell, in case of FF, browser will increase height of row automatically if height of content is greater than limit ( can be caused by images, or HTML tags inside content ) - such change will break logic of positions. >>And how can I upgrade from 1.4 to 1.5 so that everything keeps working correctly? In case of migration to 1.5 it will require only update of JS file, but in case of dhtmlxgrid 1.6 there are some bigger changes, which may require updates in used code http://www.dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Migrating_to_16.html#grid_art_mig16 >>dhtmlXHierarchy is not defined If you are using dhtmlxTreeGrid ( seems so ) - please be sure to update both Grid and TreeGrid ( the both components must have the same version - in your case , both need to be upgraged to version 1.5 ) Using Grid and TreeGrid from different versions will cause an error for sure. |