Categories | Question details Back To List | ||||||||
DHTMLXGrid & DHTMLXCombo I am trying to use DHTMLXGrid to add a new row to a database based upon savedata_grid.html file. I would like 2 of the columns be dropdown boxes where the first box changes the entries of the second box. Will Combo & grid allow me to do what I want? Answer posted by Support on Jun 05, 2008 09:15 There is no any special integration for such use-case, but it possible to implement such behavior by using existing events in grid. Please check attached sample ( a sample is a bit outdated, so when used with latest grid version you need to use attachEvent instead of setOnEditCellHandler ) Attachments (1)
Answer posted on Jun 05, 2008 11:16 that looks exactly like what I want but when I try to implement using the "setOnEditCellHandler" function I get this I am trying to use DHTMLXGrid 1.6
mygrid.setOnEditCellHandler is not a function
mygrid.setOnEditCellHandler(myf); Answer posted on Jun 05, 2008 11:38 I figured it out I need to use: mygrid.attachEvent("onEditCell",myf);
your example worked perfectly Thank you |