I have a problem with line numbers in uniDBGrid!
As can be seen in the figures below,
uniDBGrid page 2
line numbers start again at 1
What would be the reason ?
How can I solve it?
Thanks in advance for your support and help.
Kind regards,
Delphi 10.2
UniGuiVersion : 1.90.0.1550
Workaround.
MainForm -> Script:
Ext.override(Ext.grid.column.RowNumberer, {
defaultRenderer: function(value, metaData, record, rowIdx, colIdx, dataSource, view) {
var newDataSource = dataSource.isFeatureStore ? dataSource.store : dataSource;
return this.callParent([value, metaData, record, rowIdx, colIdx, newDataSource, view]);
}
});