angularjs - Angular UI - grid always show in edit mode -
how make angular ui grid show columns in edit mode? tried setting celltemplate editablecelltemplate did not work.. idea here
thanks, lokesh
i came problem year later... solution mimic edit template in celltemplate:
<script type="text/ng-template" id="ui-grid/celltitlevalidator"> <div class="ui-grid-cell-contents" title="{{grid.validate.gettitleformattederrors(row.entity,col.coldef)}}"> <div class="form-editor"> <input ng-class="{'ng-invalid' : grid.validate.isinvalid(row.entity,col.coldef)}" value="{{col_field custom_filters}}" placeholder="{{'platform.placeholders.n-a' | translate}}" readonly="readonly" /> </div> </div> </script>
Comments
Post a Comment