We are binding the kendo grid widget to a dataset where columns are identified only by an index (their definitions/content are dynamic and are known only at runtime).
We use the following approach to bind columns:
Which is a mechanism that is used by others as well.
We just noticed that this approach breaks when aggregates(footerTemplate) are defined on such columns.
Example of such behavior (please uncomment marked code)
Is this a bug that can be fixed in kendo code?
Is there a workaround you can suggest?
Thanks.
We use the following approach to bind columns:
for
(
var
i = 0; i < 5; i++) {
var
entryIndex =
"entries["
+ i +
"]"
;
columns.push({
field: entryIndex,
title:
"Column "
+ i
});
}
Which is a mechanism that is used by others as well.
We just noticed that this approach breaks when aggregates(footerTemplate) are defined on such columns.
Example of such behavior (please uncomment marked code)
Is this a bug that can be fixed in kendo code?
Is there a workaround you can suggest?
Thanks.