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

passing data to grid

1 Answer 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ddub
Top achievements
Rank 1
Veteran
ddub asked on 23 Sep 2020, 04:51 AM

I am using angularjs and in 1 of the components I have my kendo grid <sales-kendo-grid-component>

I am trying to reuse that component in my <other-sales-component> where I have stored data $scope.otherSales that I want to populate kendo grid with.

// other sales component     

<div class="container">
  <h1>Sales from other sources</h1>
<sales-kendo-grid-component></sales-kendo-grid-component>
</div>

How do I bind my $scope.otherSales to populate grid that's coming from <sales-kendo-grid-component>

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 24 Sep 2020, 03:10 PM

Hello,

 

Thank you for describing the scenario. For implementing a component that can be support I suggest checking the issue below that discusses the specifics in such implementation.

https://github.com/kendo-labs/angular-kendo/issues/306

There is also a sample illustrating the functionality. Check it out below:

http://plnkr.co/edit/Ni8cjs8Zf9LFa8f5

 

Regards,
Viktor Tachev
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

Tags
Grid
Asked by
ddub
Top achievements
Rank 1
Veteran
Answers by
Viktor Tachev
Telerik team
Share this question
or