how can I put combo boxes in a datagrid?
Does anyone have an example for this?
thanks!
Max
thanks!
Max
March 4,
var myData = [
["cell1", "cell2", "cell3"],
["cell1", "cell2", "cell3"],
["cell1", "cell2", "cell3"]
];
var myItems = ["item11", "item12", "item13", "item14"];
var list = new AW.UI.List;
list.setItemText(myItems);
list.setItemCount(4);
var obj = new AW.UI.Grid;
obj.setCellData(myData);
obj.setColumnCount(3);
obj.setRowCount(3);
obj.setCellTemplate(new AW.Templates.Combo, 1);
obj.setPopupTemplate(list, 1);
document.write(obj);
This topic is archived.
ActiveWidgets is a javascript library for creating user interfaces. It offers excellent performance for complex screens while staying simple, compact and easy to learn. Deployed by thousands of commercial customers in more than 70 countries worldwide.
Copyright © ActiveWidgets 2021