OGE logoOGE

Rows & Templates

Full control over row rendering: replace entire rows with *ogeRowTemplate, style the empty state with *ogeNoDataTemplate, reorder rows by dragging, track a focused row and show a loading panel while remote data is in flight.

ogeRowTemplate ogeNoDataTemplate rowDragging focusedRow loadPanel
ogeRowTemplate rowAlternation
Employee
Department
Salary
ZÇ
Zeynep Çelik
Support · Antalya
₺61.000
ZD
Zeynep Doğan
Sales · İstanbul
₺112.000
AÇ
Ali Çelik
Sales · İzmir
₺71.000
MD
Mert Doğan
HR · İstanbul
₺59.000
EŞ
Emre Şahin
Support · İzmir
₺97.000
DD
Deniz Doğan
Engineering · İzmir
₺35.000
18 rows

Row drag & drop + focused row

rowDragging focusedRowEnabled
Focused row key: —
Id
First Name
Department
1
Ali
Engineering
2
Deniz
Engineering
3
Can
Finance
4
Zeynep
Engineering
5
Zeynep
Finance
6
Ayşe
Sales

Empty state & loading panel

ogeNoDataTemplate loadPanel 800ms latency
First Name
Department
Loading…

Notes

  • *ogeRowTemplate replaces only data rows — group rows, detail rows and summaries keep their built-in rendering; sorting/filtering/selection still work through the declared columns.
  • rowAlternation stripes odd rows via the --oge-row-alt-bg token.
  • rowReordered reports the moved key plus from/to view positions; with a plain array the order is persisted in place.
  • focusedRowKey is a two-way model — set it programmatically and the row highlights (and vice versa).
  • loadPanel shows a spinner overlay for any in-flight load of a remote source.