This is a migrated thread and some comments may be shown as answers.

Q2 2015 Breaks dataSource read for Angular directive

3 Answers 11 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Colin
Top achievements
Rank 1
Colin asked on 01 Jul 2015, 07:36 AM

I have just upgraded to Q2 2015 and the following no longer works

 

I have a grid defined inside an angular directive, which uses the transport.read to get data as in

 

$scope.dirGridOptions = {
     dataSource: {
         transport: {
             read: function (options) {
                 $scope.getData(options);
             },
             pageSize: 5
         },

However, the function getData is never called. If I display the grid options it seems that the transport has been deleted

{
  "transport": {
    "pageSize": 5
  },

Note that this works if the grid is not inside a directive, and it worked inside the directive before the upgrade.

Regards

Colin

 

 

 

3 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 03 Jul 2015, 07:10 AM

Hello Colin,

 

I am afraid that I am not able to replicate this problem. Could you please modify the http://dojo.telerik.com/ozUju example to reproduce the issue. so we can investigate it? 

 

 

 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Colin
Top achievements
Rank 1
answered on 04 Jul 2015, 06:24 AM

Hi

I have updated the dojo at http://dojo.telerik.com/ozUju/3.

If you choose 2015 Q1 the data in the second grid appears, but it does not with 2015 Q2.

 

Regards

 

Colin

0
Accepted
Petyo
Telerik team
answered on 07 Jul 2015, 09:18 AM

Hello Colin,

 

I believe that we already resolved the case in ticket #949923.In case you need further assistance, you may keep the communication in it - thank you in advance.

 

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Colin
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Colin
Top achievements
Rank 1
Petyo
Telerik team
Share this question
or