:: Home >>

Active.Controls.Grid

Scrollable grid control. Displays data in a table with fixed headers, resizable columns, client-side sorting and much more.

Constructor Syntax

var obj = new Active.Controls.Grid;

Class Hierarchy

Data Models

rowSpecifies the row indices and the row headers data.
columnSpecifies the column indices and the column headers data.
dataProvides the content to display inside the grid cells.
selectionControls the row/column/cell selection.
sortControls sorting of the grid rows.
statusProvides control status.
errorProvides error information.

Public Methods

setColumnHeaderHeightAllows to specify the height of the column headers.
setRowHeaderWidthAllows to specify the width of the row headers.
sortSorts the rows with the data in the given column.

Content Templates

layoutSplits the grid display into the four scrolling areas.
mainContains the main area of the grid.
dataContains the list of data rows.
leftContains the row headings area.
topContains the column headings area.
statusDisplays control status text.
errorDisplays error text.
rowGrid row template.
columnGrid column (cell) template.

HTML

<div id="{id}" class="active-controls-grid " oncontextmenu="return false" onselectstart="return false" onkeydown="dispatch(event, this)" onmousewheel="dispatch(event, this)">
{#0}
</div>

Comments

9 Feb 11
example rahonam (0)
4 Nov 08
Taking grid data into a textbox Eva (2)
17 Apr 07
multi-column sorting sweety (8)
13 Mar 07
File sorting anand (0)
13 Oct 06
multipage grid -> empty rows sorting Rekcor (1)
3 Oct 06
multiselection with checkbox on Active.Controls.Grid Fatih Polat (1)
29 Sep 06
multiselection with checkbox ? Fatih Polat (1)
1 Aug 06
How do I best remove a row? someguy (2)
25 Jun 06
Load file into javascript variable Fidel Guajardo (3)
9 Jun 06
Can't scroll with keyboard on a Grid (1.0) in a Frame Bill Honaker (4)
4 May 06
sorting disabled, but unknown process still runs Mike (4)
6 Apr 06
RowHeaderWidth Sadir (1)
30 Mar 06
tooltip for results in every cell selvan palaniyandi (1)
1 Feb 06
How to hide the row label Bill (5)
column header width pgm (0)
30 Jan 06
Moving Columns Rohith (1)
is form handling supported for the grid? someguy (1)
26 Jan 06
Can I disable the grid like a regular input? If so, how? someguy (1)
23 Jan 06
Bug in src.getColumnProperty("texts") Kare Langedrag (0)
18 Jan 06
Update data in grid control (1)
17 Jan 06
how to put a link property to a cell ALEX LUTHOR (2)
21 Dec 05
more than one link per row Thorsten (1)
12 Dec 05
Sort Value Rafael Vieira (1)
29 Nov 05
Grid.sort function SKIPS LAST RECORD WHILE SORTING Ramkrishna (0)
28 Nov 05
How can i set the number of rows in a grid before scrolling Roger (3)
21 Nov 05
sort off lw (3)
10 Nov 05
dates Fran (0)
6 Nov 05
Can a column be pinned-up - (made not to move), in the grid ? sujith.menon@globeop.com (2)
28 Oct 05
active widget jake (0)
4 Oct 05
Printing Leonardo (1)
3 Oct 05
Load file into a javascipt variable Fidel Guajardo (0)
22 Aug 05
Add a row into the Table? bls (0)
19 Aug 05
column index error glennlosentes (0)
18 Aug 05
v2 falseProphet (2)
15 Aug 05
Totally unclear (4)
9 Aug 05
how to select a data from a cell Suneel Grover (1)
26 Jul 05
Sort model Rafael Vieira (0)
21 Jul 05
Regarding Grid Coding Ganesh (1)
4 Jul 05
Link bob (0)
3 May 05
clarification please doolittle (0)
25 Apr 05
Hiding duplicate values in a CoLumn Sachin Paradkar. (0)

Comments will appear on this page and in the main forum.

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5