Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is a data table. Basic example:

Image Modified
Code Block
languagephp
GridControl::create($parent, 'grid')
    ->setEntity(new Bauteil(), $this->request)
    ->col('ba_bezeichnung')
    ->createColumn(GridColumn::ENTITYOPS);

Settings

Settings can be appended as desired, since GridControl setter methods will always return $this.

setShowRecordCount

Code Block
languagephp
->setShowRecordCount(true)