javascript - how to popup window for editing row with ng-grid and angular js -
i've started read angular-js. seems cool learn. i've looked through http://angular-ui.github.io/ng-grid/. ng-grid seems nice , easy use, not sure how popup modal window when edit button clicked on given row? , when "save" button clicked, content updated/refreshed on grid row highlighted.
something http://www.jtable.org/. don't want fix jtable , angular js together.
anyone please help?
thanks & regards tin
you can adding column template
here working fiddle
i have hide , show div, giving id can give pop of jquery
$scope.gridoptions = { data: 'mydata', enablepaging: true, columndefs: [{field: 'id', displayname: 'id', enablecelledit: false, colfiltertext: ''}, {field:'name', displayname:'name', enablecelledit: true, colfiltertext: '' }, {field:'edit', displayname:'edit', enablecelledit: true, celltemplate: editcontactcelltemplate, colfiltertext: ''}]
Comments
Post a Comment