htmlayout::grid Struct Reference

behavior:grid, browser of tabular data (records). More...


Public Member Functions

bool is_multiple (const dom::element &table)
 is it multiple selectable?
virtual void on_column_click (dom::element &table, dom::element &header_cell)
 Click on column header (fixed row).
dom::element get_current_row (dom::element &table)
 returns current row (if any)
void set_current_row (dom::element &table, dom::element &row, UINT keyboardStates, bool dblClick=false)
 set current row


Detailed Description

behavior:grid, browser of tabular data (records).

Supports multiple selection mode. Use "multiple" attribute.

model is like this: <table fixedrows=1 ... style="behavior:grid">

...

...

LOGICAL EVENTS: TABLE_HEADER_CLICK, click on some cell in table header, target is the cell TABLE_ROW_CLICK, click on data row in the table, target is the row

See: html_samples/grid/scrollable-table.htm Authors: Andrew Fedoniouk, initial implementation. Andrey Kubyshev, multiselection mode.


Member Function Documentation

virtual void htmlayout::grid::on_column_click ( dom::element table,
dom::element header_cell 
) [inline, virtual]

Click on column header (fixed row).

Overrided in sortable-grid


The documentation for this struct was generated from the following file:
Generated on Fri May 18 22:05:12 2007 for HTMLayout by  doxygen 1.5.1-p1