Hi,
In TreeList i am enable Pageable and use dataBound
When fire first dataBound, data-uid is actual
then press refresh button and data-uid not updated in table
https://dojo.telerik.com/IgUwuYAn
In exemple first alert contains dataItem.LastName, then press button refresh, and dataItem not found, alert old data-uid
10 Answers, 1 is accepted
We need some additional time to investigate the issue. We will post our findings here as soon as possible.
Regards,
Angel Petrov
Progress Telerik
I am writing as a follow-up to the previous answer.
The described scenario is indeed a bug and its status can be tracked in the following item:
https://github.com/telerik/kendo-ui-core/issues/4537
I have also updated your Telerik points due to your contribution to improving the suite.
Regards,
Stamo Gochev
Progress Telerik
Hello,
When expand tree then data-uid not updated in table.
Example: https://dojo.telerik.com/IgUwuYAn/17
Hello,
Other problem with dataBound: https://dojo.telerik.com/IgUwuYAn/18
In example, i am set color on dataBound: dataItem.Extension % 2 === 0 ? 'red' : ''.
when collapse "Buffy" then "Skyler" is red, but must be black. I think not fired 'dataBound'
For the first sample it seems that the wrong service from the demos is targeted here is a corrected dojo.
For the second sample we need some additional time to check the case. We will post here additional information as soon as possible.
Regards,
Angel Petrov
Progress Telerik
I will revise the first sample as well. I hope that I will be able to quickly isolate the root cause of the issue.
Regards,
Angel Petrov
Progress Telerik
As promised I am getting back to you.
Now the first scenario is a limitation in the current implementation. Lazy loading is currently not supported with paging. In order for the pageable option to work the entire set of data should be extracted initially and available to the treelist datasource to operate.
As for the second case it is due to the specific implementation of the treelist. It uses virtual DOM and the CSS changes are not applied to it(as they come from custom external logic). When the cell content gets replaced there is no logic which to clear the previously set styles(which is expected). In order to resolve the matter one should re-apply the styling as shown here.
Regards,
Angel Petrov
Progress Telerik
Hello,
First, ok.
Second, is it scecific implementation of the pagable treelist? For disabled pagable work correctly. May be some where skipped trigger('dataBound')?
Your solution applied not immediately, like after timeout
Indeed the dataBound event should get fired. I have logged this as a bug. You can monitor our progress on the matter from here or from here.
I have updated you account points for bringing our attention to this matter.
Regards,
Angel Petrov
Progress Telerik