EJS TreeGrid documentation
Changes from 5.9 to 6.0
CSS styles
. Grid.css CSS styles changed remarkably chg 6.0.
Now all the style definitions are in file Grid.css in appropriate style sub directory in /Grid.
All grid images are referenced only from Grid.css file and never directly from TreeGrid code.
The structure in Grid.css has completely changed from 5.9, if you have any custom CSS styles for grid, you must rewrite them.
See Styles documentation.
. <Styles> Tag completely removed and replaced by CSS styles del 6.0.
. <Style> Tag completely removed and replaced by CSS styles del 6.0.
. <Img> Tag completely removed and replaced by CSS styles del 6.0.
<Styles> bool UsePrefix [0] Replaced by <Cfg UsePrefix/> del 6.0.
<Styles> string Style [0] Replaced by <Cfg Style/> del 6.0.
Data communication
<treegrid,bdo> string Upload_Format [“Internal”] Default value changed chg 6.0.
<treegrid,bdo> string Data_Method [“GET”/”POST”] Default value changed chg 6.0.
Default value is POST when set server paging (Paging=’3’), otherwise is GET
<treegrid,bdo> int Cache [0] Default value changed chg 6.0.
Now it is 0 by default also in registered version
Actions and events
. <Actions> Tag attributes changed remarkably chg 6.0.
Now all attribute names (events) start with prefix On
The mouse event names (targets) changed remarkably, the mouse event targets have different structure, see Events document.
<Actions> CopyMenuEnd…F Replaced by <Panel> <Space cell> CopyMenu del 6.0.
<Actions> CopyRowMenu…F Replaced by <Panel> <Space cell> CopyMenu del 6.0.
<Actions> CopyChildMenu…F Replaced by <Panel> <Space cell> CopyMenu del 6.0.
<Actions> CopyRowMenuEnd…F Replaced by <Panel> <Space cell> CopyMenu del 6.0.
<Actions> CopyChildMenuEnd…F Replaced by <Panel> <Space cell> CopyMenu del 6.0.
<Actions> CCopyRow Replaced by Copy del 6.0.
<Cfg CopySelected=’0’ CopyFocused=’1’ CopyCols=1’’/> <Actions OnCtrlC=’Copy’/>
<Actions> CCopyCol Replaced by Copy del 6.0.
<Cfg CopySelected=’0’ CopyFocused=’30’ CopyCols=’0’/> <Actions OnCtrlC=’Copy’/>
<Actions> CCopyColLevel Replaced by Copy del 6.0.
<Cfg CopySelected=’0’ CopyFocused=’20’ CopyCols=’0’/> <Actions OnCtrlC=’Copy’/>
<Actions> CCopyCell Replaced by Copy del 6.0.
<Cfg CopySelected=’0’ CopyFocused=’1’ CopyCols=’0’/> <Actions OnCtrlC=’Copy’/>
<Actions> CCopySelected Replaced by Copy del 6.0.
<Cfg CopySelected=’1’ CopyFocused=’0’ CopyCols=’1’/> <Actions OnCtrlC=’Copy’/>
<Actions> ExcludeRow Replaced by Exclude del 6.0.
<Cfg CopySelected=’0’ CopyFocused=’1’ CopyCols=1’’/> <Actions OnCtrlC=’Exclude’/>
<Actions> ExcludeSelected Replaced by Exclude del 6.0.
<Cfg CopySelected=’1’ CopyFocused=’0’ CopyCols=1’’/> <Actions OnCtrlC=’Exclude’/>
<Actions> PasteToRow Replaced by Paste del 6.0.
<Cfg PasteSelected=’0’ PasteFocused=’1’ PasteCols=’4’ /> <Actions OnCtrlV=’Paste’/>
<Actions> PasteToRowFill Replaced by Paste del 6.0.
<Cfg PasteSelected=’0’ PasteFocused=’2’ PasteCols=’4’ /> <Actions OnCtrlV=’Paste’/>
<Actions> PasteToRowAdd Replaced by Paste del 6.0.
<Cfg PasteSelected=’0’ PasteFocused=’4’ PasteCols=’4’ /> <Actions OnCtrlV=’Paste’/>
<Actions> PasteToNewRow Replaced by Paste del 6.0.
<Cfg PasteSelected=’0’ PasteFocused=’6’ PasteCols=’4’ /> <Actions OnCtrlV=’Paste’/>
<Actions> PasteToSelected Replaced by Paste del 6.0.
<Cfg PasteSelected=’1’ PasteFocused=’0’ PasteCols=’4’ /> <Actions OnCtrlV=’Paste’/>
<Actions> PasteToCol Replaced by Paste del 6.0.
<Cfg PasteSelected=’0’ PasteFocused=’3’ PasteCols=’0’ /> <Actions OnCtrlV=’Paste’/>
<Actions> PasteToColLevel Replaced by Paste del 6.0.
<Cfg PasteSelected=’0’ PasteFocused=’2’ PasteCols=’0’ /> <Actions OnCtrlV=’Paste’/>
<Actions> PasteToColFill Replaced by Paste del 6.0.
<Cfg PasteSelected=’0’ PasteFocused=’3’ PasteCols=’3’ /> <Actions OnCtrlV=’Paste’/>
<Actions> PasteToColFillLevel Replaced by Paste del 6.0.
<Cfg PasteSelected=’0’ PasteFocused=’2’ PasteCols=’3’ /> <Actions OnCtrlV=’Paste’/>
<Actions> PasteToRowFirst Replaced by Paste del 6.0.
<Cfg PasteSelected=’0’ PasteFocused=’1’ PasteCols=’1’ /> <Actions OnCtrlV=’Paste’/>
<Actions> PasteToRowFillFirst Replaced by Paste del 6.0.
<Cfg PasteSelected=’0’ PasteFocused=’2’ PasteCols=’1’ /> <Actions OnCtrlV=’Paste’/>
<Actions> PasteToRowAddFirst Replaced by Paste del 6.0.
<Cfg PasteSelected=’0’ PasteFocused=’4’ PasteCols=’1’ /> <Actions OnCtrlV=’Paste’/>
<Actions> PasteToNewRowFirst Replaced by Paste del 6.0.
<Cfg PasteSelected=’0’ PasteFocused=’6’ PasteCols=’1’ /> <Actions OnCtrlV=’Paste’/>
<Actions> PasteToSelectedFirst Replaced by Paste del 6.0.
<Cfg PasteSelected=’1’ PasteFocused=’0’ PasteCols=’1’ /> <Actions OnCtrlV=’Paste’/>
<Actions> PasteToColFirst Replaced by Paste del 6.0.
<Cfg PasteSelected=’0’ PasteFocused=’30’ PasteCols=’0’ /> <Actions OnCtrlV=’Paste’/>
<Actions> PasteToColLevelFirst Replaced by Paste del 6.0.
<Cfg PasteSelected=’0’ PasteFocused=’20’ PasteCols=’0’ /> <Actions OnCtrlV=’Paste’/>
<Actions> PasteToColFillFirst Replaced by Paste del 6.0.
<Cfg PasteSelected=’0’ PasteFocused=’30’ PasteCols=’3’ /> <Actions OnCtrlV=’Paste’/>
<Actions> PasteToColFillLevelFirst Replaced by Paste del 6.0.
<Cfg PasteSelected=’0’ PasteFocused=’20’ PasteCols=’3’ /> <Actions OnCtrlV=’Paste’/>
XML attributes
<Cfg> string [] SortCols [“”] Replaced by Sort del 6.0.
The Sort is now string and not array also for API
<Cfg> int [] SortTypes [“”] Replaced by Sort del 6.0.
The 1 is set as minus in front of the column name
<Cfg> string DefaultSortCol Renamed to DefaultSort del 6.0.
<Cfg> int MaxSortColumns [3] Renamed to MaxSort del 6.0.
<Cfg> int EmptyChildPages Renamed to MaxChildrenEmpty del 6.0.
<Cfg> bool IdCompare [0] Replaced by CaseSensitiveId del 6.0.
IdCompare = 4 => CaseSensitiveId = 0; IdCompare = 0 => CaseSensitiveId = 1
<Cfg> bool DropFree [0] Removed del 6.0.
Now is permitted free drop by default and can be restricted by Def / AcceptDef.
<Cfg> bool CopyFree [0] Removed del 6.0.
Now is permitted free drop by default and can be restricted by Def / AcceptDef.
<Cfg> string[] GroupCols Renamed to Group del 6.0.
The Group is now string and not array also for API
<Cfg> int [] GroupTypes Removed del 6.0.
Now the grouping is controlled by column attributes for grouping and cannot be saved to cookies or sent to server
bit 2 (&2) <C LocaleCompare>
bit 3 (&4) <C CaseInsensitive>
bit 4 (&8) <C WhiteChars>
bit 5 (&16) <C GroupEmpty>
bit 6 (&32) <C GroupSingle>
bit 7 (&64) <C GroupEmpty>
bit 8 (&128) <C GroupDeleted>
<Cfg> int GroupFlags [0] Replaced by GroupRestoreSort and GroupSortMain del 6.0.
1. bit (&1) Removed, the action is done always
2. bit (&2) <Cfg GroupRestoreSort>
3. bit (&4) <Cfg GroupSortMain>
4. bit (&8) <Cfg GroupSortMain>
<Cfg> string UnGroupAction [0] Replaced by <Actions OnUngroup> del 6.0.
<Cfg> int SearchType [176(16+32+128)] Replaced by various Search attributes del 6.0.
1. bit (&1) <Cfg SearchCells/>
2. bit (&2) <Cfg SearchHidden>
3. bit (&4) <Cfg SearchCaseSensitive/>
4. bit (&8) <Cfg SearchExpand/>
5. bit (&16) <Cfg SearchFocused=’2’/>
6. bit (&32) <Cfg SearchFocused=’3’/>
7. bit (&64) <Cfg SearchFocused=’0’/>
8. bit (&128) <Cfg SearchNotFound/>
<Cfg> int Pasting [1] Settings >1 replaced by other attributes chg 6.0.
1. bit (&1) <Cfg PasteSelected>
2., 3., 4. bit (&2, 4, 8) <Cfg PasteFocused>
5., 6. bit (&16, 32) <Cfg PasteCols>
<Cfg> bool HidePanel [0] Replaced by <Panel Visible/> del 6.0.
<Cfg> <treegrid / bdo> int SuppressMessage [0] Added more options chg 6.0.
Which TreeGrid status messages will be suppressed.
0 Messages during loading and updating grid on start and on reload
1 0 + Informational messages shown when longer task is run
2 1 + Message inside loading or rendering page
3 2 + Error message if TreeGrid cannot show
<Cfg> bool DebugCalc [1/0] Replaced by <treegrid / bdo Debug=’problem’> del 6.0.
<Cfg> bool DebugActions [1/0] Replaced by <treegrid / bdo Debug=’problem’> del 6.0.
<Cfg> bool AlertWidths [0] Replaced by <treegrid / bdo Debug=’info’> del 6.0.
<Cfg> string EmptyNumber Replaced by <C CanEmpty/> and <C EmptyValue/> del 6.0.
<Cfg> string EmptyDate Replaced by <C CanEmpty/> and <C EmptyValue/> del 6.0.
<Cfg> string EmptyEnum Replaced by <C CanEmpty/> and <C EmptyValue/> del 6.0.
<Cfg> bool ShowVScrollbar Renamed to ShowVScroll del 6.0.
<Cfg> bool PrintType [0] Replaced by various printing attributes del 6.0.
2.bit (&2) <Cfg PrintExpanded/>
5.,6.,7.,8.,9. bit (&16, &32, &64, &128, &256) <I CanPrint/>
10. bit (&512) <Cfg PrintPageBreaks/>
<Cfg> int [] Top Replaced by CSS classes GxTop, GxTop1 – GxTop5 del 6.0.
<Cfg> int [] Bottom Replaced by CSS classes GxBottom, GxBottom1 – GxBottom5 del 6.0.
Section displayed bellow the grid, the same structure as Top attribute.
Example of rounded corners with five pixels height and one pixel border:
Bottom='|1,1,#E0E0E0,2,#F0F0E0,1,#E0E0E0,1|2,1,#E0E0E0,1,#F0F0F0,1,#E0E0E0,2|3,2,#E0E0E0,1,#F0F0E0,2,#E0E0E0,3|5,0,,1,#E0E0E0,0,,5'
<Cfg> int OverflowDialog Removed completely del 6.0.
<Cfg> int MaxMenuHeight Replaced by TMenu MaxHeight del 6.0.
<Cfg> int ZIndex Replaced by CSS attribute z-index in various classes del 6.0.
<Cfg> int CellSpacing Removed completely and the functionality is unsupported del 6.0.
<Cfg> int MovingColBorder [3] Replaced by CSS classes GxDragCol... del 6.0.
<Cfg> int [] ShadowMessage [3,3,3,3] Replaced by CSS class GxMessageShadow del 6.0.
<Cfg> int [] ShadowDialog [3,3,3,3] Replaced by CSS class GxMenuShadow del 6.0.
<Cfg> int [] ShadowEnum [3,3,3,3] Replaced by CSS class GxMenuShadow del 6.0.
<Cfg> int [] ShadowEnumIcon [3,3,3,3] Replaced by CSS class GxMenuShadow del 6.0.
<Cfg> int [] ShadowFilter [3,3,3,3] Replaced by CSS class GxMenuShadow del 6.0.
<Cfg> int [] ShadowFilterIcon [3,3,3,3] Replaced by CSS class GxMenuShadow del 6.0.
<Cfg> int [] ShadowMenu [9,9,3,3] Replaced by CSS class GxMenuShadow del 6.0.
<Cfg> int [] ShadowHint [3,3,3,3] Replaced by CSS class GxHintShadow del 6.0.
<Cfg> int [] ShadowTip [3,3,3,3] Replaced by CSS class GxTipShadow del 6.0.
<Cfg> int [] TipPos [0,16] Removed, the functionality is done automatically del 6.0.
<Cfg> type DateStrings [0/1] Default value changed chg 6.0.
By default it is set to 0, if some date in input XML is set as number of milliseconds, otherwise is set to 1.
<Cfg> type VarHeight [0] Removed, the functionality is done automatically del 6.0.
<Cfg> type RowHeight [0] Renamed to MinRowHeight del 6.0.
<Cfg> type NoFormatEscape [0] Default value changed chg 6.0.
By default is 0 for text and 1 for number and date.
<Cfg> int MaxTagHeight Renamed to MaxVScroll del 6.0.
The attribute in 6.0 exists, but has different functionality, the original functionality is done by MaxVScroll.
<Cfg> int InEditMode [2] Default value changed to new option chg 6.0.
2 the edit mode is run when user clicks to already focused editable cell or double clicks some editable cell or presses character key or Enter, F2 or Backspace.
<Cfg> type AddRowEnd [0] Replaced by actions AddRowEndPage and AddRowEndGrid del 6.0.
<C> <Panel> string ClassOuter Replaced by Class del 6.0.
The Class usage is different, because it is added to the default CSS classes instead of replacing them like in 5.9.
The Class is applied to <TD> tag and not to <DIV> tag like in 5.9.
<Panel> <Header cell> string ClassOuterHover Removed completely del 6.0.
<C> <cell> int EnumType Removed completely, <SELECT> tag is unsupported del 6.0.
<Cfg> bool EnumKeys Removed, not required del 6.0.
<C> int GanttHeaderOptions Renamed to GanttHeaderTrim del 6.0.
<C> <cell> int GanttOptions Replaced by various Gantt options del 6.0.
1.bit (&1) <C GanttHover/>
2.bit (&2) <C GanttIcons/>
4.bit (&8) <C GanttEdit/>, Resources item
5.bit (&16) <C GanttEdit/>, Main item
6.bit (&32) <C GanttEdit/>, Flow item
7.bit (&64) <C GanttEdit/>, Flags item
8.bit (&128) <C GanttEdit/>, Dependency item
<C> bool NoFFDrag [0] Removed, not required del 6.0.
<C> int SortType[0] Replaced by various Sort settings del 6.0.
bit 2 (&2) <C LocaleCompare>
bit 3 (&4) <C CaseInsensitive>
bit 4 (&8) <C WhiteChars>
<C> <cell> string WhiteChars Now used whenever defined chg 6.0.
<C> <I> <cell> bool ToolTip Renamed to Tip del 6.0.
<C> <cell> string Button Various changes chg 6.0.
None value changed to empty string.
Img value removed, now the image is shown if the image file is directly assigned to the Button.
<cell> int WidthPad [20] Removed completely, functionality unsupported del 6.0.
Now the WidthPad attribute is supported only for <C> tag, for the whole column
<C> <cell> string [*] MenuIcons Replaced by Menu attribute, TMenuItem Icon del 6.0.
<C> <cell> string MenuCaption Replaced by Menu attribute, TDialog Header del 6.0.
<C> char AutoWidthChar Removed completely, functionality done by another way del 6.0.
<C> int AutoWidthPlus [0] Removed completely, functionality done by another way del 6.0.
<C> <cell> bool OverflowEllipsis [0] Replaced by CSS attribute text-overflow:ellipsis del 6.0.
To show the ellipsis in cell (in IE only), set the text-overflow:ellipsis to the class GxCell, GxHeader or to other Cell CSS classes
<cell> string Action Replaced by OnChange and OnClick XML actions del 6.0.
For Button type use OnClick, for Select or editable cell use OnChange XML event
<D> string Action Replaced by OnGroup XML event del 6.0.
<I> int TreeIconLeftX [0] Removed completely, functionality unsupported del 6.0.
<I> int TreeIconTopY [0] Removed completely, functionality unsupported del 6.0.
<I> string ClassEdit Removed completely, functionality unsupported del 6.0.
<I cell> string[] Merge [0] Changed syntax chg 6.0.
Now the Merge contains list of columns and not their count
<I> int MergeStart [0] Replaced by Merge del 6.0.
<I cell> string MergeEdit Changed syntax chg 6.0.
Now it contains column name and not column position.
<Space> string Html Replaced by cell Type=’Html’ del 6.0.
<Space cell> string ToolTipChecked Removed completely, functionality unsupported del 6.0.
<I> string LeftVal Replaced by LeftHtml del 6.0.
<I> string MidVal Replaced by MidHtml del 6.0.
<I> string RightVal Replaced by RightHtml del 6.0.
<Filter> int FilterType [0] Replaced by various Filter attributes del 6.0.
bit 2 (&2) <C LocaleCompare>
bit 3 (&4) <C CaseInsensitive>
bit 4 (&8) <C WhiteChars>
<Group> int[][*] Types Removed del 6.0.
Now the grouping is controlled by column attributes for grouping and cannot be saved to cookies or sent to server
bit 2 (&2) <C LocaleCompare>
bit 3 (&4) <C CaseInsensitive>
bit 4 (&8) <C WhiteChars>
bit 5 (&16) <C GroupEmpty>
bit 6 (&32) <C GroupSingle>
bit 7 (&64) <C GroupEmpty>
bit 8 (&128) <C GroupDeleted>
<Toolbar> int ColumnsCount [1] Replaced by <Cfg MenuColumnsCount/> del 6.0.
<Cfg> bool SortSpan [0] Removed completely, attribute not required del 6.0.
<Cfg> int CalendarButtons [0/7] Replaced by <C> <cell> CalendarButtons del 6.0.
<MenuCfg> bool ShowIcons Replaced by SortClick del 6.0.
<Panel> bool Visible <Panel> has all attributes of <C> upd 6.0.
<Panel> bool CanHide [] <Panel> has all attributes of <C> upd 6.0.
<C> string ClassEnum [‘’] Replaced completely del 6.0.
The Enum look in cell can be controlled by Class and ClassInner.
The Enum list menu can be controlled by EnumMenu, parameter Class.
<C> <cell> string [*] Defaults Changed functionality chg 6.0.
The special item *+X (collapsible level) is replaced by TreeGrid menu Level settings
The special item *- (separator) is replaced by ‘-‘
<C> <cell> string [*] Menu Changed functionality chg 6.0.
The special item *+X (collapsible level) is replaced by TreeGrid menu Level settings
The special item *- (separator) is replaced by ‘-‘
<Header> bool Wrap <Header> has all attributes of <I> upd 6.0.
<Header> bool Visible <Header> has all attributes of <I> upd 6.0.
<Header> bool PanelVisible <Header> has all attributes of <I> upd 6.0.
<Header> bool CanExport <Header> has all attributes of <I> upd 6.0.
<Header> bool CanDrag Removed completely, useless del 6.0.
<Header> int Rows Replaced by more <Header> tags del 6.0.
In 6.0 there can be more <Header> tags in grid in <Head> and <Foot> section and they replace all multiline attributes from 5.9
<Header> int Main [0] Replaced by more <Header> tags del 6.0.
<Header> string LeftRC [“”] Replaced by more <Header> tags del 6.0.
<Header> int LeftRCSpan [1] Replaced by more <Header> tags del 6.0.
<Header> string RightRC [“”] Replaced by more <Header> tags del 6.0.
<Header> int RightRcSpan [1] Replaced by more <Header> tags del 6.0.
<Header> string MidRC [“”] Replaced by more <Header> tags del 6.0.
<Header> int MidRcSpan [1] Replaced by more <Header> tags del 6.0.
<C><I><cell> string ClassInner Different usage chg 6.0.
ClassInner now adds new <DIV> tags into the cell and sets its class attribute.
Wrap and Align and type classes are applied to this <DIV> instead of the cell itself.
Use ClassInner to add some inner border and margin to the cell, for other settings use Class attribute instead.
Remember, setting ClassInner for many cells can slow down the grid rendering and usage!
<C> <cell> string Formula Behavior changed chg 6.0.
Now the cell formula is always used instead of column formula, also if row is not calculated.
Now the column formula is used also in calculated row.
<Space> string Class [“GSpace”] Target changed del 6.0.
The row Class attribute is now class for all cells in the row.
The CSS class for the space row can be set by custom Kind attribute.
<Space cell> int Tab Replaced by Radio del 6.0.
API events
API event string OnGetClass (TGrid grid, TRow row, string col, string cls) chg 6.0.
The OnGetClass now replaces only custom cell class set by Class attribute. cls is the Class attribute value
API event string OnGetEnum (TGrid grid, TRow row, string col, string enum) chg 6.0.
Now the enum is string, not array. It should return also string and not array.
API event int OnCanDrag (...) Renamed to OnCanDrop del 6.0.
API event string OnPrint (TGrid grid, Window window, string report) Parameters changed chg 6.0.
Now it should not return array of strings to change the report, but only one string as the report itself
API event void OnShowDialog (...) Removed completely, event unsupported del 6.0.
API event void OnEvent... (...) Replaced by On... del 6.0.
API event bool OnCanFilter (...) Renamed to OnFilter del 6.0.
API event bool OnGroup (TGrid grid, string group) Parameters changed chg 6.0.
API event bool OnPaste (TGrid grid, string[] pastedtext, string[] cols) Parameters changed chg 6.0.
API event void OnPasteFinish (TGrid grid) Parameters changed chg 6.0.
API event bool OnClick (TGrid grid, TRow row, string col, int x, int y, Event event) Parameters changed chg 6.0.
Removed parameter handled, so the event parameter is now shifted
API event bool OnContextMenu (TGrid grid, TRow row, string col, string result) Parameters changed chg 6.0.
Index parameter removed and result is shifted
API event bool OnTabOutside (...) Replaced by <Cfg TabStop/> del 6.0.
API event string OnGetInputValue (TGrid grid, TRow row, string col, string val) Parameters changed chg 6.0.
The val is now the value itself and not any object.
API event bool OnEndEdit (TGrid grid, TRow row, string col, bool save, string val) Return value changed chg 6.0.
Now can return only 1 or 0 to cancel finish or not. The return value is ignored when save is 0.
API event void OnDataError (TGrid grid, object source, int result, string message, string data) Parameters changed chg 6.0.
API event void OnDataErrorDebug (...) Replaced by OnDataError del 6.0.
API event void OnDataReceive (TGrid grid, object source) Parameters changed chg 6.0.
Now it called with data source and not with the row. The row is accessible by source.Row.
API event void OnPanelClick (TGrid grid, int index) Replaced by XML events OnClickButton... del 6.0.
API event void OnCanShowCfgItem (...) Removed completely, event unsupported chg 6.0.
API event void OnShowCfg (TGrid grid, TMenu menu) Parameters changed chg 6.0.
API event void OnShowColumns (TGrid grid, TMenu menu) Parameters changed chg 6.0.
API methods and properties
global func. bool KeyInt (Event event, string Value) Removed completely del 6.0.
global func. bool KeyFloat (Event event, string Value) Removed completely del 6.0.
global func. bool KeyDate (Event event, string Value) Removed completely del 6.0.
global func. int GetKey (Event event) Removed completely del 6.0.
global func. object CopyObject (object o) Removed completely del 6.0.
global func. void ShowHTML (string HTML, string name) Removed completely del 6.0.
API variable TRow XB Renamed to Body del 6.0.
API variable TRow XH Renamed to Head del 6.0.
API variable TRow XF Renamed to Foot del 6.0.
API variable TRow XS Renamed to Solid del 6.0.
API variable TRow XHeader Renamed to Header del 6.0.
API method bool SetScrollBars ( ) Renamed to Update del 6.0.
API variable TMenu Dialog Type changed chg 6.0.
Now it points to TMenu object
API variable bool StopCalc Replaced by Calculated del 6.0.
API variable object Data Renamed to Source del 6.0.
API event type[] GetColLeft (int left) Removed completely del 6.0.
In 6.0 version exists function with the same name, but with completely different functionality
API method TRow[] GetRows (int sec) Removed completely del 6.0.
Use such loop: for(var r=grid.Head.firstChild;r;r=r.nextSibling){ ... }
API method void ChangeSort (string sortcols) Parameters changed chg 6.0.
Now it has only one parameter as the sort string
API method void UpdateBody ( ) Renamed to RenderBody del 6.0.
API method void DelRow (TRow row) Renamed to RemoveRow del 6.0.
API method void GetCDef (TRow row) Removed completely del 6.0.
API method void GetRow (TRow row, int sec) Removed completely, function unsupported del 6.0.
It is strongly recommended to not access the row DOM, only cell content.
API method void GetRowChildren (TRow row, int sec) Removed completely, function unsupported del 6.0.
It is strongly recommended to not access the row children DOM, only cell content.
API method object GetCell (TRow row, string col) Reduced functionality chg 6.0.
Now the GetCell method always returns the cell DOM, tag <TD>
API method TMenu ShowDialog (...) Return value changed chg 6.0.
API method object ShowMenu (...) Replaced by global ShowMenu function chg 6.0.
API method string ValueToString (...) Removed completely del 6.0.
API method string StringToValue (...) Removed completely del 6.0.
API method string[] GetEnum (TRow row, string col) Removed completely del 6.0.
Enum is now accessible always as plain string
API method int GetEnumIndex (TRow row, string col, string val) Removed completely del 6.0.
API method bool SetIdentity (string tag = “”, string id = “”) Removed completely del 6.0.
Now the identity should not be changed on fly. You can only add and remove grids.
API method void DelIdentity ( ) Removed completely del 6.0.
Now the identity should not be changed on fly. You can only add and remove grids.
API method void Communicate (object DataIO, string Data, function Func) Replaced by global function AjaxCall del 6.0.
API method void Communicate2 (object DataIO, string Data, function Func) Replaced by method AjaxCall del 6.0.
API method void DownloadData (object DataIO, function Func) Replaced by ReadData del 6.0.
API method void UpdateRows ( ) Removed completely del 6.0.
API method string GetCellHtml (TRow row, string col) Removed completely, function unsupported del 6.0.
API method int GetColor (TRow row) Removed completely, function unsupported del 6.0.
API method string GetText (string ident) Replaced by Lang.Text[ident] del 6.0.
API method string GetAlert (string ident) Replaced by Lang.Alert[ident] del 6.0.
API method bool TabInside (Event event, int move) Replaced by <Cfg TabStop /> del 6.0.
API method void DoSort (bool show) Replaced by SortRows del 6.0.
API method bool DoAction (TRow row, string col) Removed completely del 6.0.
API method TClick GetClick (MouseEvent e) Removed completely, function unsupported del 6.0.
API method void SetStyle (string Style, string CSS, bool render) Parameters changed chg 6.0.
API method string GetPrintable (function func) Parameters changed chg 6.0.
Now it uses options according to grid print settings
Usable also when report is generated asynchronously by setting PrintRows
API method void UpdatePrintable (HTMLElement table) Removed completely, function not required del 6.0.
API method void ChangeAction (string name, string action) Replaced by Actions[name] = action del 6.0.