Ticket #756 (closed enhancement: fixed)
QSimpleTable - a new table control
| Reported by: | vakopian | Owned by: | |
|---|---|---|---|
| Priority: | important | Milestone: | 2.1 |
| Component: | QControls | Version: | 2.0.2 Stable |
| Keywords: | Cc: |
Description
Attached is new control class I created called QSimpleTable.
The idea is to have a simple control that can return or display tabular data, without the need to handle the complex features of QDataGrid (sorting, filtering, row actions, etc).
Even more importantly, this implementation does not use eval() to compute cell values. Instead it uses user specified functions, or (PHP 5.3) Closures.
Calculating the cell values is thus greatly simplified, which will allow to easily return the tabular data in other formats (e.g. json, xml, etc).
As you may have guessed, my goal is to use this class as a base class for wrapping jqGrid or DataTables? jQuery plugins. To do that with QDataGrid would have been cumbersome and most likely inefficient.
Of course it comes with a full example which will give you guys a better idea on how to use it.
I would really like to include this in the upcoming 2.1 version.

