Hello,
I work with the tutorial sample and seem to work right. but when I try to add another column
the grid won’t display anything.
I search on the doc but didn’t make it work right,
first here what I want to archive, I would like to have a grid with the connector
In contacts.php I use
$conn->render_table("contacts","contact_id","fname,lname,email,homepage");
I would like to display only fname,lname,email , but I still want to bind homepage for modification I use createWindow and add form.xml and bind my contact form to the grid, I tried setColumnsVisibility but does’t seem to work
myGrid.setHeader("name,lastname,email,homepage");
myGrid.setColumnIds("fname,lname,email,homepage");
mygrid.setColumnsVisibility("false,false,false,true");
myGrid.setColAlign("left,left,left,left");
myGrid.setColTypes("ro,ro,ro,ro");
myGrid.setColSorting("str,str,str,str");
Please can you help me.
Thanks