Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
Nice package, we were missing data-grid in v7.
There is a small bug in the dropdown editor.
propertiesViews\dropdown.html has
<option ng-repeat="option in model.config.columns.columns[$index].props.options" value="option.value">{{option.text}}</option>
When it should be
<option ng-repeat="option in model.config.columns.columns[$index].props.options" value="{{option.value}}">{{option.text}}</option>
otherwise you always get 'option.value' as your data.
You might also want to take a look at the ngOptions directive it makes life much simpler.
Hi Doron.Thanks for that, I changed it to ng-options.I'll update the project later today.Cheers.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Drop down editor problem
Hi,
Nice package, we were missing data-grid in v7.
There is a small bug in the dropdown editor.
propertiesViews\dropdown.html has
<option ng-repeat="option in model.config.columns.columns[$index].props.options" value="option.value">{{option.text}}</option>
When it should be
<option ng-repeat="option in model.config.columns.columns[$index].props.options" value="{{option.value}}">{{option.text}}</option>
otherwise you always get 'option.value' as your data.
You might also want to take a look at the ngOptions directive it makes life much simpler.
Hi Doron.
Thanks for that,
I changed it to ng-options.
I'll update the project later today.
Cheers.
is working on a reply...