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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.