Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Saurabh Malviya on Dec 10, 2009 21:45
open dhtmlx forum
Wraping the option text in dhtmlxcombo

Hi,
I am using dhtmlxgrid which has dhmlxcombo as one of its column type. If the option text is larger than the
column width that option text gets strip off and one can see only certain part of option text.
Is there any functionality of wrapping the option text so that user can see the complete option text.

Thanks
Answer posted by Alex(support) on Dec 11, 2009 00:31

Hello,

you can try to autowidth feature of the combo (dhtmlxcombo_whp.js is required):

var combo = mygrid.getColumnCombo(columnIndex);
combo.enableOptionAutoWidth(1);