Hello,
I have the following code to setup my dhtmlXGrid:
-------
mygrid = new dhtmlXGridObject(“rawDataGrid”);
mygrid.setImagePath("<%=VisitBean.getDhtmlxRoot() %>dhtmlXGrid/codebase/imgs/");
mygrid.setSkin(“modern”);
mygrid.setEditable(true);
mygrid.init();
mygrid.loadXML(“xml/rawDataGridXML.jsp”);
-------
Everything works nicely so far (including XML loading, editing only certain columns and so on), except that the vertical scrollbar does not appear if the grid reaches beyond the height of element rawDataGrid. How do I get scrollbars.
Also I would like to know where there is a guide to explain all the includes needed for certain functionality? I am looking at this document and can not find all of the explanations:
dhtmlx.com/docs/products/dht … id_confxml
What I would like to achieve (and therefore have correct includes for) is the following:
1. use either XML or JSON (I understand it is faster to process) to configure the grid as far as possible without involving separate javascript conf commands to the grid. So far this is working nicely.
2. be able to separate certain columns for editing, and lock some of them. So far this works as well.
3. have one column as an integer field which editable, with integer-only input validation.
4. have another column as a timestamp (yyyy-mm-dd hh:mm:ss) field, which would then have a way to reset the hh:mm:ss part to 00:00:00. This could be a button, link, or context menu whichever way works best. Which is the easiest way?
5. possibly the timestamp column could have a calendar selector instead, although I am not sure how that applies to the hh:mm:ss part of the timestamp?
Thank you in advance for the answers, you can also contact me at tapani(dot)jalonen(at)visit(dot)fi. We have purchased the professional Suite package.