there is a powerful grid control in this site for free download (open source?):
http://www.scbr.com/docs/products/dh...id/index.shtml
I am interesting in it's eXcell control, but don't know to fullfil a multiple select option requirement. I need a cell to handle a multiselect option like:
the data grid is set as :Code:<select name="myselect" multiple size=3> <option value="0">NONE <option value="1">AND <option value="2">OR <option value="3">XOR </select>
my idea is when I edit the 3rd column(Combo box) of the grid,it pulldown an area for multi select and return the values.Code:NodeGrid = new dhtmlXGridObject('NodeGridDIV'); NodeGrid.setImagePath("imgs/"); NodeGrid.setHeader("NodeId,NodeName,NodeType"); NodeGrid.setInitWidths("100,100,100"); NodeGrid.setColAlign("left,left,center"); NodeGrid.setColTypes("ed,ed,coro"); NodeGrid.setColSorting("str,str,str"); NodeGrid.setColumnColor("white,#d5f1ff,#d5f1ff"); var combobox = NodeGrid.getCombo(2); combobox.put("0", "NONE") combobox.put("1", "AND") combobox.put("2", "OR") combobox.put("3", "XOR") NodeGrid.init(); NodeGrid.loadXML("NodeData.xml");
seems it can not do this?
thanks for any help.



Reply With Quote
Bookmarks