Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by suneetika on Feb 23, 2009 21:03
open dhtmlx forum
Combo not working for dhtml grid

We have implemented combo in dhtml grid,but when we selected combo box in first row then combo box is getting displayed from third row.How to remove the space between first and third row.

With Regards
Suneetika
Answer posted by Alex (support) on Feb 24, 2009 02:10
Could you please send the sample where the issue can be reproduced at support@dhtmlx.com ?
Answer posted by suneetika on Feb 24, 2009 02:44

This is the code we are using in our application.

mygrid.setHeader("A,B,C,D,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec,Jan,Feb,Mar,Total");
  mygrid.setInitWidths("60,60,70,80,60,60,60,60,60,60,60,60,60,60,60,60,67");
  mygrid.setColAlign("left,left,left,left,right,right,right,right,right,right,right,right,right,right,right,right,right");
mygrid.setColTypes("co,co,ed,co,edn,edn,edn,edn,edn,edn,edn,edn,edn,edn,edn,edn,ron[=c4+c5+c6+c7+c8+c9+c10+c11+c12+c13+c14+c15]");
  mygrid.getCombo(1).put("New","New");
  mygrid.getCombo(1).put("Existing","Existing");
  mygrid.getCombo(3).put("Implementation","Implementation");
  mygrid.getCombo(3).put("License","License");
  mygrid.getCombo(3).put("Maintenance","Maintenance");
  mygrid.getCombo(3).put("Others","Others");
  mygrid.enableSmartRendering(true);
  mygrid.init();

Answer posted by Alex (support) on Feb 25, 2009 00:50

This code snippet is not enough to recreate the issue.

Probably the issue is caused by some special grid layout. So, we need a full sample or a direct link. 

Answer posted by suneetika on Mar 02, 2009 00:53

I send the screen shot as attachment.

Can u just let me know that u got the attachment.

Answer posted by Alex (support) on Mar 02, 2009 06:50

Hello,

Could you, please, send us the sample to recreate the issue ( the screenshot is not enough )?