I know you’ve cleared this up a million times, but most of the example pages come up blank!
As you see from the code below, I have a grid that is filled but by a connector. The underlying table has two colums, the first has to be picked from values of another table and the second is a simple text.
I’ve understood that I cant use “loadXML” with co/coro, but when I put a “combo” in the colTypes I get an “Invalid column type” error!!!
Also I would like to put a coro or whatever in the header to filter the rows for this column
listeModGrid = listeModLayout.cells("a").attachGrid();
listeModGrid.setImagePath(imgPath);
listeModGrid.setHeader("Tipo Lista,Nome Lista");
listeModGrid.attachHeader("#connector_select_filter,#connector_text_filter");
listeModGrid.setInitWidths("180,*");
listeModGrid.setColTypes("combo,edtxt");
listeModGrid.setColSorting("connector,connector");
listeModGrid.enableSmartRendering(true);
listeModGrid.enableMultiselect(true);
listeModGrid.init();
var combo = listeModGrid.getColumnCombo(0);
combo.loadXML("cnctTipiListaList.do");
listeModGrid.loadXML("cnctListeGrid.do");
var dp = new dataProcessor("cnctListeGrid.do");
dp.init(listeModGrid);