Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Apr 23, 2008 23:31
open dhtmlx forum
enableMultiline,enablesmartRendering and enableAutoHeight

Is there any particular sequence on how to use enableMultiline, enableSmartRendering and enableAutoHeight in the same script?
If i use the three in the sequence

enableMultiline(true)
enableSmartRendering (true)
enableAutoHeight(true,400)
then the enableautoHeight functionality is not working.

If i use the three functionalities in the sequence
enableMultiline(true)
enableAutoHeight(true,400)
enableSmartRendering(true)
then enableMultiline functinality is not working.

Is it not possible to use SmartRendering and enableMultiline in the same script?

Could you please suggest me on how to use these methods to acheive all the functionalities?
Answer posted by Support on Apr 24, 2008 03:18
>>Is it not possible to use SmartRendering and enableMultiline in the same script?
Smart rendering mode works with fixed height only, so those two commands mutual exclusive.

There is no problem to use enableMultiline with enableAutoHeight
Technically it not a problem to use enableSmartRendering with enableAutoHeight  as well, but it will nulify any performance bonus gained by SmartRendering usage ( because in such scenario visible area includes all grid's rows, and all of them need to be rendered at once )