This is a migrated thread and some comments may be shown as answers.
TreeList paging not update data-uid after read data
10 Answers 24 Views
This is a migrated thread and some comments may be shown as answers.
Konstantin
Top achievements
Rank 1
Konstantin asked on 20 Sep 2018, 11:09 AM

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

Sort by
0
Angel Petrov
Telerik team
answered on 24 Sep 2018, 07:53 AM
Hello,

We need some additional time to investigate the issue. We will post our findings here as soon as possible.

Regards,
Angel Petrov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Stamo Gochev
Telerik team
answered on 25 Sep 2018, 10:01 AM
Hi,

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
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Konstantin
Top achievements
Rank 1
answered on 09 Jul 2019, 04:53 AM

Hello, 

When expand tree then data-uid not updated in table.

Example: https://dojo.telerik.com/IgUwuYAn/17

0
Konstantin
Top achievements
Rank 1
answered on 09 Jul 2019, 05:08 AM

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'

0
Angel Petrov
Telerik team
answered on 10 Jul 2019, 03:29 PM
Hi,

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
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Konstantin
Top achievements
Rank 1
answered on 11 Jul 2019, 04:04 AM
Hi, first sample is lazy load, and it's correct for TreeList, if remove pagable, it's work correctly. I am use it for big tree and thing about pagable.
0
Angel Petrov
Telerik team
answered on 11 Jul 2019, 03:35 PM
Hello,

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
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Angel Petrov
Telerik team
answered on 15 Jul 2019, 12:31 PM
Hello,

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
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Konstantin
Top achievements
Rank 1
answered on 16 Jul 2019, 08:06 AM

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

0
Angel Petrov
Telerik team
answered on 17 Jul 2019, 02:19 PM
Hello,

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
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Asked by
Konstantin
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Stamo Gochev
Telerik team
Konstantin
Top achievements
Rank 1
Share this question
or