Passing Attributes in HandsonTable Angular Directive <<ui-handsontable> from scope variable

111 views
Skip to first unread message

Siddharth Shrivastava

unread,
Feb 1, 2014, 7:28:48 AM2/1/14
to ang...@googlegroups.com
Hi,

I am using handsontable angular directive in my project.
normally we define the handsontable as 

<ui-handsontable minSpareRows="2" stretchH="'hybrid'" datarows="item in items"> 

I want to have the values of attributes like minSpareRows from scope varrible like <ui-handsontable minSpareRows="{{minrows}}" stretchH="'hybrid'" datarows="item in items">

I have tried
  • {{minrows}}
  • ng-attr-minSpareRows="{{minrows}}"

Please guide.
Reply all
Reply to author
Forward
0 new messages