What I’m trying to achieve …
A windowing system that updates various tables (customers, sites, etc…)
windows are opened inside a one pane layout that takes up the whole browser window, and has the main menu.
The windows consist of a 2E layout, 1st cell contains the table,and 2nd cell contains the details of the record. I want the window to open with the list visible ( cell(“a”) is grid, cell(“b”) is form.
I use:
sediLayout.cells(“a”).hideHeader();
sediLayout.cells(“b”).hideHeader();
sediLayout.cells(“b”).collapse();
sediLayout.cells(“a”).expand();
However I still get a grey border at the bottom of the window where the header of cell(“b”) would like to be (if I hover over it I get a “b”). Doubleclicking on an entry, I get the cell(“a”) to collapse and cell(“b”) to expand, but this time cell(“b”) has the grey border at the top, where the cell(“a”) header would be.
Can I get these to dissapear completely? Basically the window either contains a table, or a form according to whether you’re looking at the list, or at the details of an entry.
I put a toolbar in the first cell (table one)…
Where ARE the Icons that you have in your example for New, print, etc?? they’re NOT in the imgs folder!
I tried putting a tabbar in cell(“b”) so I can split details in more forms on more tabs, but nomatter now I try with “.cells(“b”).autoSize()”, enableAutoSize, enableAutoResize, when I double-click on the table, and that layout cell collapses and the form(now tabbar) cell expands, I can see a little horizontal scrollbar at the top of the tab window, but nome of the window contents! either the form or the tabbar are NOT resizing!
Another problem/query: on your excellent tutorial at “Start DHTMLX Docs”, you use a popup form to enter new data. I’ve got a “new” button on the table cell, which, like double-clicking on an entry, makes the tabel cell collapse, and the form one expand, and therefore I recycle the same form for new entries. By shotgun programming I’ve got it to work, but I don’t think it’s optimal (see enclosed code).
Last (simplest) problem: I’ve got a login form. I wanted to submit with the enter key. I read somewhere that there’s an updated form with an onKeyUp event. I’m using the single “dhtmlx.js” and not the component by component includes. can I update or something?
Hope this has NOT tested your patience tooo far… I only discovered you a few months back, and I’ve knocked up a prototype for a customer. He see’s what he likes, and therefore I’m going to make him “foot the bill” for the full version, as soon as I’ve really got something to show-off.
Lastly, my complients, Good work!
testSediTab.rar (2.51 KB)