Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Osvaldo on Mar 31, 2009 09:29
open dhtmlx forum
COMBO STYLE

Hi! In this example:
http://dhtmlx.com/docs/products/docsExplorer/index.shtml?node=dhtmlxgrid&type=smpl

At "Checkbox Select" section, the Inputs objects appears without border, but i can't do that in the "dhtmlxcombo.css", can you please help me with this?

Regards,
Answer posted by Alex (support) on Apr 01, 2009 03:22

Hello, 

You can modify the dhtmlxcombo_extra.js.

if(this.checked) //set checkbox state
  html += '<input style="float:left;border:1px solid black" type="checkbox" checked />';
  else html += '<input style="float:left;border:1px solid black" type="checkbox" />';

insead of

if(this.checked) //set checkbox state
  html += '<input style="float:left;" type="checkbox" checked />';
  else html += '<input style="float:left;" type="checkbox" />';

One remark - checkbox border isn't displayed in FireFox and Safari