Why table generators are called more than once?

Hi,
I have a table with pageLength = 0 and cacheRate = 0 that uses column generators, and i notice really slow
performance. After I debugged it, i found that for some data the generators are called more than one time, which i think causes the slow performance. It is about 150 records in the entity.

Could you please give me any suggestions on that topic?

Have a nice day!

Best regards,
Tsvetomir.

1 Like

Hi,

There is no guarantee that column generator will be executed only once. They are called each time you change data of the table. By design, you should not perform heavy computations in column generators, even a database query can slow down your UI significantly.

If you use Table for editing data - take a look at DataGrid inline editor. Also, DataGrid supports lightweight renderers.