Difference between revisions of "TDBGridControler"

From Lazarus wiki
Jump to navigationJump to search
Line 1: Line 1:
==A none visual component to add more functionnalities on your TDBGrid component==
+
==TDBGridControler is a non visual component with no dependencies providing added functionalities for the TDBGrid object==
  
Features :
+
You need more functionalities? A grid controller that provide extra features to your existing TDBGrid
  
* Multi-Column sorting
+
* Searching expression in the grid;
* Grid Searching
+
* Searching expression in column;
* Column Searching
+
* Column filter editor;
* Column Filtering
+
* Datetime editor, memo editor and lookup editor;
* Column Chooser
+
* Saving the current filter view;
 +
* Multi column sorting;
 +
* Column chooser editor;
 +
* Column grouping visual separator on one level;
 +
* Footer and aggregation on columns;
 +
 
 +
TDBGrid Overidden Events to achive the task
 +
 
 +
* OnCellDraw
 +
* OnCellHint
 +
* OnEditorEdit
 +
* OnMouseClick
 +
* OnTitleClick
 +
* OnTitleDraw
 +
 
 +
New events
 +
 
 +
* OnAfterFilterGrid
 +
* OnAfterSortColumn
 +
* OnAggregation
 +
* OnBeforeSortColumn
 +
* OnLocalize
 +
* OnPrepareLookupDataset
 +
* OnSortColumn

Revision as of 16:48, 28 December 2022

TDBGridControler is a non visual component with no dependencies providing added functionalities for the TDBGrid object

You need more functionalities? A grid controller that provide extra features to your existing TDBGrid

  • Searching expression in the grid;
  • Searching expression in column;
  • Column filter editor;
  • Datetime editor, memo editor and lookup editor;
  • Saving the current filter view;
  • Multi column sorting;
  • Column chooser editor;
  • Column grouping visual separator on one level;
  • Footer and aggregation on columns;

TDBGrid Overidden Events to achive the task

  • OnCellDraw
  • OnCellHint
  • OnEditorEdit
  • OnMouseClick
  • OnTitleClick
  • OnTitleDraw

New events

  • OnAfterFilterGrid
  • OnAfterSortColumn
  • OnAggregation
  • OnBeforeSortColumn
  • OnLocalize
  • OnPrepareLookupDataset
  • OnSortColumn