Index of features
TreeGrid v5.5
This document contains reference to attributes and API items according to grid features.
This document does not contain full list of attributes and API items. For full list see appropriate reference documentation.
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
Sorting rows according to cell values in given columns
<Cfg Sorting SortCols SortTypes SortLap Sorted AutoSort SortIcons ReversedSortIcons MaxSortColumns SortSpan ReSort EmptyNumberSort DefaultSortCol
<Pager MaxColumns
<C Type CanSort SortType WhiteChars CharCodes
<Root CanSort
cell <I SortValue SortDescValue
<Toolbar Sort
<Img Sort
Events OnSort, OnSortFinish, OnGetSortValue, OnCanReload, OnSetPageName
Grid methods ChangeSort, SortClick, SortRow, SortRows, DoSort
Actions SortAsc (F), SortDesc (F), NoSort (F), DefaultSort, SortOn, SortOff
Grouping row to tree according to same values in given columns
<Cfg Grouping Grouped GroupCols GroupTypes GroupMain GroupLap GroupFlags UngroupAction MaxGroupLength ChildPaging EmptyChildPages
<C CanGroup WhiteChars CharCodes GroupType GroupDef GroupWidth
<D Group GroupCols GroupCol GroupMain ParentCDef EditCols Action AggChildren MaxChars
<I CanGroup MaxChildren MaxChildrenDiff AggChildren
cell <I SortValue
<Group Cells List ListCustom Cols Types Custom
Events OnGetSortValue, OnGetGroupDef, OnGroup, OnGroupFinish, OnCanReload, OnSetPageName
Grid methods DoGrouping
Actions GroupBy (F), GroupByLast (F), UnGroupBy (F), GroupOn, GroupOff, DropColMove
Filtering (hiding) rows according to values in given columns
<Cfg Filtering Filtered FilterEmpty StandardFilter
<C CanFilter WhiteChars CharCodes
<I CanFilter
cell <I FilterValue CanFilter Type
cell <Filter Filter FilterType DefaultFilter ShowMenu MenuItems Type value
<Img Filter
<Lang> <MenuFilter> attributes
Events OnGetFilterValue, OnCanFilter, OnFilterFinish, OnRowFilter, OnCanReload
Grid methods ChangeFilter, DoFilter
Actions FilterOn, FilterOff
Filtering (hiding), selecting, coloring or focusing rows according to given formula
<Cfg Searching Searched SearchExpression SearchAction SearchType SearchMethod SearchDefs SearchCols SearchDateFormat SearchLap
cell <I FilterValue
<Search Cells ExpressionAction ActionsAction ListDefaults ListExpressions
<Search ColsDefaults ColsCols ColsLabel DefsDefaults DefsDefs DefsLabel CaseLabel TypeLabel
<Colors Found1 Found2 Found3 FoundXX FoundAbsolute
Events OnGetFilterValue, OnSearch, OnSearchFinish, OnRowSearch, OnCanReload
Grid methods SearchRows
Actions SearchOn, SearchOff
Copy and paste rows or cell values via clipboard
<C CanCopy
<Header CopyValue
cell <I CopyValue
Events OnGetCopyValue
Grid methods OnPaste, OnPasteFinish
Actions CCopyRow, CCopyCol, CCopyColLevel, CCopyCell, CCopySelected
Actions PasteToRow, PasteToRowFill, PasteToRowAdd, PasteToNewRow, PasteToSelected, PasteToRowFirst, PasteToRowFillFirst, PasteToRowAddFirst, PasteToNewRowFirst, PasteToSelectedFirst
Actions PasteToCol, PasteToColLevel, PasteToColFill, PasteToColFillLevel, PasteToColFirst, PasteToColLevelFirst, PasteToColFillFirst, PasteToColFillLevelFirst
Selecting one or more rows to do actions (deleting, dragging, copying) with the row range
<Cfg Selecting SelectingCells SaveSelected DragEdit
<Panel Select
<Header CanSelect
cell <I Selected
<Colors Selected
Events OnSelect OnSelectAll, OnDeleteAll, OnAutoFill, OnAutoFillValue
Grid methods SelectRow, SelectAllRows, SelectRange
Actions SelectRow (F), DeselectRow (F), SelectCell (F), DeselectCell (F), SelectCol (F), DeselectCol (F), SelectAll, DeselectAll, InvertAll, ClearSelection
Actions SelectRowRange, DeselectRowRange, InvertRowRangeFirst, SelectCellRange, DeselectCellRange, InvertCellRangeFirst
Actions SelectCells, DeselectCells, SelectRows, DeselectRows, InvertCellsFirst, InvertRowsFirst, SelectOddRows, DeselectOddRows, InvertOddRows
Actions DragSelected, DragSelectedCopy, DragSelectedCopyChildren
Actions DeleteSelected, UndeleteSelected
Actions CCopySelected, PasteToSelected, PasteToSelectedFirst
Actions CopySelected (F), CopySelectedChild (F), CopySelectedChildEnd (F), CopySelectedTree (F), CopySelectedTreeChild (F), CopySelectedTreeChildEnd (F)
Actions CopySelectedEmpty (F), CopySelectedEmptyChild (F), CopySelectedEmptyChildEnd (F), CopySelectedEnd (F), CopySelectedTreeEnd (F), CopySelectedEmptyEnd
Actions CopyMenu (F), CopyMenuEnd (F), CopyRowMenu (F), CopyChildMenu (F), CopyRowMenuEnd (F), CopyChildMenuEnd
Deleting one or more (selected) rows
<Cfg Deleting ShowDeleted
<Panel Delete
<Header CanDelete
<Colors Deleted
<MenuCfg ShowDeleted
Events OnRowDelete, OnCanRowDelete, OnDeleteAll
Grid methods DeleteRow, DeleteRowT, DelRow, HideRow
Actions DeleteRow (F), DeleteSelected, UndeleteRow (F), UndeleteSelected, RemoveRow (F), RemoveSelected
Adding and copying
Adding new rows or copying existing row or selected range
<Cfg Adding Copying AddChildType CopyFree
<Panel Copy
<Header CanCopy
<D ParentCDef
<I Def CDef CanCopy Added Parent Prev Next Copy AddParent
<Colors Added
Events OnRowAdd, OnCanRowAdd, OnRowCopy
Grid methods AddRow, CopyRow, CopyRows, MoveRowsToGrid, ShowRow
Actions AddRow (F), AddRowBelow (F), AddRowEnd, AddChild (F), AddChildEnd (F)
Actions CopyRow (F), CopyTree (F), CopyEmpty (F)
Actions CopySelected (F), CopySelectedChild (F), CopySelectedChildEnd (F), CopySelectedTree (F), CopySelectedTreeChild (F), CopySelectedTreeChildEnd (F)
Actions CopySelectedEmpty (F), CopySelectedEmptyChild (F), CopySelectedEmptyChildEnd (F), CopySelectedEnd (F), CopySelectedTreeEnd (F), CopySelectedEmptyEnd
Actions CopyMenu (F), CopyMenuEnd (F), CopyRowMenu (F), CopyChildMenu (F), CopyRowMenuEnd (F), CopyChildMenuEnd
Actions PasteToRowAdd, PasteToNewRow, PasteToRowAddFirst, PasteToNewRowFirst
Actions DragCopy, DragSelectedCopy, DragCopyChildren, DragSelectedCopyChildren
Generating row id
<Cfg IdNames FullId AppendId LastId IdChars NumberId IdPrefix IdPostFix IdCompare
Events OnSetRowId, OnGenerateId
Grid methods GenerateId
Moving one or more rows by mouse or by API
<Cfg Dragging DragCopy Dropping DropFixed DropFree ShowDrag ExpandOnDrag DragEdit
<C CanDrag
<D ParentCDef
<Root CDef
<I Def CDef CanDrag Moved Parent Prev Next
<Colors Moved
<MenuCfg ShowDrag
Events OnRowMoveToGrid, OnRowMove, OnStartDrag, OnCanDrag, OnEndDrag
Grid methods MoveRow, MoveRowsToGrid, MoveRows
Actions DragRow, DragSelected, DragCopy, DragSelectedCopy, DragCopyChildren, DragSelectedCopyChildren
Grid cursor – focused row and cell
<Cfg StaticCursor FocusWholeRow Focused FocusedPos FocusedCol IgnoreFocused
<C CanFocus
<I CanFocus
cell <I CanFocus
<Colors FocusedCell Focused CannotFocus
Global properties Grids.Active, Grids.Focused
Events OnFocus, OnClick, OnRightClick, OnDblClick
Grid properties FRow, FPagePos, FCol, ARow, ACol
Actions Focus, ChangeFocus, FocusRow, Blur
Actions GoDown, GoUp, GoLeft, GoRight, TabLeft, TabRight, PageDown, PageUp, GoFirst, GoLast
Actions GoDownEdit, GoUpEdit, GoLeftEdit, GoRightEdit, TabLeftEdit, TabRightEdit
Editing cell values
<Cfg Editing InEditMode EmptyNumber EmptyDate EmptyEnum AcceptEnters Keys Silent SaveValues
<C EditFormat EditMask MaskColor ResultMask ResultText CanEdit EditEnum Refresh
<D EditCols
cell <I value EmptyValue CanEdit AcceptEnters EditFormat EditMask MaskColor ResultMask ResultText EditEnum Refresh CopyTo EditServer ClassEdit MergeEdit
<Colors EditedCell ViewedCell ReadOnly Preview ChangedCell Changed
<Lang> <Format> attributes
<treegrid Cell_
Events OnCanEdit, OnCanEditDate, OnValueChanged, OnAfterValueChanged, OnResultMask, OnStartEdit, OnEndEdit, OnGetInputValue, OnSetInputValue, OnKeyDown, OnKeyPress, OnDblClick
Grid properties EditMode, FRow, FCol
Grid methods StartEdit, EndEdit, GetString, GetValue, SetString, SetValue, CanEdit
Actions StartEdit, AcceptEdit, CancelEdit, ChangeRadioLeft, ChangeRadioRight, ChangeBool
Actions ShowLink, ShowDefaults, ShowCalendar, ShowPopupMenu, ButtonClick
Actions GoDownEdit, GoUpEdit, GoLeftEdit, GoRightEdit, TabLeftEdit, TabRightEdit
Formatting displayed values according to cell type
<Cfg NoFormatEscape BaseUrl
<C Type Format EditFormat ExportFormat
cell <Header Align
cell <I Type Format EditFormat ExportFormat HtmlPrefix HtmlPostfix EmptyValue
<Lang> <Format> attributes
Global functions DateToString StringToDate NumberToString StringToNumber
Events OnGetType, OnGetFormat, OnLinkClick
Grid methods ValueToString, StringToValue, SetString, GetString, GetType, GetFormat
Selection list by HTML <SELECT> attribute
<Cfg EnumKeys ClearVariableAttrs
<C Enum EditEnum EnumKeys IntFormat Related Refresh
cell <I Enum EditEnum EnumKeys IntFormat Related Refresh
Events OnGetEnum
Grid methods GetEnum
Selection type by right side button and pop-up menu
<Cfg MaxMenuHeight OverflowDialog
cell <I DefaultsServer
<C Button WidthPad ButtonText Defaults
cell <I Button WidthPad ButtonText Defaults
Events OnGetDefaults, OnShowDialog , OnButtonClick,
Actions ShowDefaults
Uploading changes to server and reloading grid
<Cfg AutoUpdate ReloadChanged SaveValues Validate ValidateText
<I id Deleted Added Changed Moved Parent Next Prev Copy NoUpload
<MenuCfg AutoUpdate CheckUpdates
<treegrid Upload_ Check_ Upload_Url Upload_Tag Upload_Data Upload_Format Upload_Xml Upload_Method Upload_Type Upload_Attrs Check_Interval Sync Upload_Param Upload_Params
Grid properties Data, Data.Upload, Data.Check
Grid methods UploadChanges, Save, Reload, ReloadBody, GetChanges, HasChanges, AcceptChanges, GetXmlData, CheckForUpdates
Actions Save, Validate, Reload
Saving configuration to cookies or persistent storage or sending it to server
<Cfg id Version SuppressCfg PersistentCfg SaveExpanded SaveSelected SaveValues SaveAttrs SaveAttrsTrim SaveSession Cookie
<Cfg ColsLap ColsPosLap FilterLap PagerWidthLap CheckUpdatesLap SortLap GroupLap SearchLap
<treegrid id
Global properties Grids.CookieExpires, Grids.CookieParam
Global functions LoadCache SaveCache
Events OnLoadCfg, OnCfgLoaded, OnSaveCfg
Grid methods LoadCfg, SaveCfg, GetCfgRequest
Export table to Excel or another spreadsheet program
<Cfg ExportPrefix ExportPostfix ExportType ExportRows
<Header CanExport ExportValue
<I CanExport
cell <I ExportValue
<Toolbar Export
<treegrid Export_ Export_Type
Events OnGetExportValue, OnExport
Actions Export
Printing table on printer
<Cfg PrintPrefix PrintPostfix PrintCSS PrintType PrintRows
<Toolbar Print
Events OnPrint, OnPrintFinish
Grid methods GetPrintable, UpdatePrintable
Actions Print
Calculating cell values according to given formula
<Cfg Calculated DebugCalc DateStrings EnumKeys CalcOrder ReCalc ClearVariableAttrs
<C Formula
<I Calculated CalcOrder CalcOrderX Recalc AggChildren
cell <I Formula Recalc Action sum count ...
<Toolbar Calc
Events OnCalculate
Grid properties StopCalc
Grid methods Calculate, Recalculate, DoAction
Actions CalcOn, CalcOff
Displaying rows in tree, expanding and collapsing rows
<Cfg MainCol SaveExpanded HideRootTree NoTreeLines NoScrollAfterExpand ExpandAllType AddChildType ExpandOnDrag
<Cfg ChildPaging EmptyChildPages RemoveCollapsed
<Root CDef
<I CanExpand Expanded Count MaxChildren MaxChildrenDiff
<Colors ChildPage
<Toolbar AddChild ExpandAll CollapseAll
Events OnExpand, OnDownloadPage, OnRenderPageStart, OnRenderPageFinish
Grid methods HasChildren, Expand, ExpandParents, ExpandAll, Collapse, CollapseAll
Row properties Level
Actions Expand (F), Collapse (F), ExpandAll, ExpandAllLoaded, CollapseAll
Displaying root rows on pages, delayed page loading, controlling pager
<Cfg Paging PageLength PageLengthDiv RootCount NoPager FastPages PageTime OnePage AllPages Focused FocusedPos FocusedCol IgnoreFocused ReloadChanged
<Pager Visible Caption Width CanResize CanHide MaxColumns
<SimplePager Space HtmlPrefix HtmlPostfix
<B id Rows Pos Name Title NameXY Count
cell <I PageNameValue
<MenuCfg ShowPager ShowAllPages
<Toolbar Repaint
Events OnGoToPage OnDownloadPage, OnCanReload, OnRenderPageStart, OnRenderPageFinish, OnSetPageName, OnGetPageNameValue
Grid properties Pager, Data, Data.Page, Data.Data
Grid methods GetPos, GetRowPage, GetPagePos, PagePosToRow, GetPageNum, GetPage, GetRowHeight
Grid methods DownloadData, DownloadPage, GoToPage, GoToNextPage, GoToPrevPage, UpdatePager, ShowPages, AddPage, RefreshPage, ReloadPage
Actions Repaint
Paging in tree – children of parent rows
<Cfg ChildPaging EmptyChildPages RemoveCollapsed
<I id Copy Count Expanded MaxChildren MaxChildrenDiff
<Colors ChildPage
<treegrid Page_
Events OnDownloadPage, OnRenderPageStart, OnRenderPageFinish
Grid properties Data, Data.Page
Grid methods GetRowHeight, DownloadPage, RefreshPage, ReloadPage
Master / detail relationship of two or more grids
<Cfg Detail DetailOn DetailExpand
<I Detail
cell <I CopyTo
<Colors Detail DetailSelected
Events OnShowDetail, OnShowDetailFinish
Grid methods ShowDetail, RefreshDetail
Actions ShowDetail (F), RefreshDetail (F), ClearDetail (F)
Accessing and iterating rows by API
Grid properties XB, XS, XF, XH, XHeader
Grid methods GetRows, GetFixedRows, GetSelRows, GetRowById
Grid methods GetFirst, GetLast, GetNext, GetFirstVisible, GetLastVisible, GetNextVisible, GetPrevVisible, GetPrevShift, GetNextShift, GetNextSibling, GetNextSiblingVisible
Row properties firstChild, lastChild, nextSibling, previousSibling, parentNode, childNodes (standard DOM HTMLElement properties)
Grid methods AddRow, DelRow, DeleteRow, DeleteRowT, MoveRow, MoveRows, MoveRowsToGrid, CopyRow, CopyRows, ShowRow, HideRow, Expand, Collapse
Accessing and iterating columns by API
Grid properties Cols, ColNames, XHeader
Grid methods GetSections, GetNextCol, GetPrevCol, GetFirstCol, GetLastCol, GetColLeft,
Grid methods ShowCol, HideCol, ChangeColsVisibility, MoveCol, ChangeColsPositions, AddCol, DelCol
Attributes specific to whole columns
<Cfg ColResizing ColMoving ShowDrag AlertWidths
<D Name=’C’
<MenuCfg ShowDrag
<C Name CanResize CanMove CanDrag CanHide Group Width RelWidth MinWidth AutoWidthChar AutoWidthPlus Visible
<Space Cells
cell <Space Width
Events OnColResize OnColMove
Grid properties Cols, ColNames, XHeader, FCol, ACol
Grid methods GetSections, GetNextCol, GetPrevCol, GetFirstCol, GetLastCol, MoveCol, ShowCol, HideCol, ChangeColsVisibility,ChangeColsPositions, AddCol, DelCol, GetColLeft, GetCaption
Actions ShowColumns, HideCol (F), ShowColLeft (F), ShowColRight (F), FillCol, SelectCol, ColResize, ColMove
Actions CCopyCol, CCopyColLevel, PasteToCol, PasteToColLevel, PasteToColFill, PasteToColFillLevel, PasteToColFirst, PasteToColLevelFirst, PasteToColFillFirst, PasteToColFillLevelFirst
Spanning cells horizontally between columns
<Cfg SortSpan
<C Group
cell <I Span Merge MergeStart MergeEdit MergeType
Column captions