Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Daniel on Oct 21, 2009 05:37
open dhtmlx forum
Answer posted by Stanislav (support) on Oct 23, 2009 08:56
In relation to the mentioned issue

a) If you are control xml (data) generation you can change it as
   <div style="height:20px; overflow:hidden; width:100%;">... old content here ... </div>
It will generate expected result in all browsers. 

b) If you need to preserve incoming data as is and in same time fix the height of the row in the browser, you can use 

eXcell_ro.prototype.setValue = function(val){
       val =  "<div style="height:20px; overflow:hidden; width:100%;">" +val+ "</div>";
      dhtmlXGridCellObject.prototype.setValue.call(this,val);
}

it will auto-wrap all data for "ro" columns.