new_1_3
dhtmlXGrid New in dhtmlxGrid 1.3
Integration with form
Starting from dhtmlxGrid 1.3 integration in existing FORM is possible.
To enable integration next things must be done
The naming of fields is next
[GRIDID]_[ROWID]_[CELLINDEX]
Another mode of grid submit is "Submit-selected-rows", which can be anabled with submitOnlySelected method. If activated, then selected row id(s) will be passed to server on submit.
These two modes can be combined with each other. Please check samples/pro_form.html (Professional Edition only)
- dhtmlxGrid_form.js included in page
- Grid container placed inside existing FORM tag
The naming of fields is next
[GRIDID]_[ROWID]_[CELLINDEX]
-
Where
- GRIDID - id of container used for grid
- ROWID - id of row in which value was changed
- CELLINDEX - index of cell inside row
-
Where
- GRIDID - id of container used for grid
-
Where
- GRIDID - id of container used for grid
Another mode of grid submit is "Submit-selected-rows", which can be anabled with submitOnlySelected method. If activated, then selected row id(s) will be passed to server on submit.
These two modes can be combined with each other. Please check samples/pro_form.html (Professional Edition only)
Refresh functionality
Starting from dhtmlxGrid 1.3, in addition to default grid reloading through
grid.clearAll()
grid.reloadXML(URL);
new refresh method added, which just update values of existing rows without reconstructing ( as
result it doesn't cause any visual glitches in grid, and works significently faster than full grid
reconstruction )
grid.updateFromXMl(URL)
The format of XML exactly the same as for initialization. Grid will update each row in grid with the same ID with data
from XML.
Please check samples/pro_refresh.html (Professional Edition only)
Please check samples/pro_refresh.html (Professional Edition only)
Undo | Redo functionality
Starting from dhtmlxGrid 1.3 by including dhtmlXGrid_undo.js your enable undo|redo functionality.
All user edit actions will be saved in unlimited undo history. ( modification caused by API calls will not be
stored in history )
mygrid.enableUndoRedo();
...
mygrid.doUndo()
mygrid.doRedo()
Please check samples/pro_undo.html (Professional Edition only)
Block selection
Starting from dhtmlxGrid 1.3 additional selection mode supported in grid - block selection.
To activate mode you need to include dhtmlXGrid_selection.js file in project.
In block selection mode you can select any block of content and copy it to clipboard ( also block paste from clipboard is possible)
Please check samples/pro_grid_selection.html
In block selection mode you can select any block of content and copy it to clipboard ( also block paste from clipboard is possible)
Please check samples/pro_grid_selection.html
Integration with dhtmlxCombo
Starting from dhtmlxGrid 1.3 Integration with dhtmlxCombo is possible. The grid supports "combo" excell type which
transformed to dhtmlxCombobox component.
There are three different mode of initialization based on used XML
1. Dynamic loading in filtering mode acombo/php/complete.php 2. Static loading from xml acombo/php/complete.php 3. Predefined list of values one two three four five six seven eight nine ten Please check samples/pro_combo.html (Professional Edition only)
There are three different mode of initialization based on used XML
1. Dynamic loading in filtering mode acombo/php/complete.php 2. Static loading from xml acombo/php/complete.php 3. Predefined list of values one two three four five six seven eight nine ten Please check samples/pro_combo.html (Professional Edition only)
