ng-click="foo()" ng-bind="row.getProperty(col.field), for that cell you
want enable click on, then make a function foo(), in taht function use
either $http.get or $http.json for server requests. you can return the
promise from get or json methods and after promise is resolved you can save
value in a $scope.something or var a depending upon you requirements (i
think this is what you asked.)


On Fri, May 16, 2014 at 4:13 PM, system <[email protected]>wrote:

> Hi
> What would be correct way to build next functionality:
> Ng-grid. When user click on specific column cell - make server request and
> show select box (dropdown). When user select value from it, make another
> server request with selected value.
>
> As i understood i need to use 'editableCellTemplate' column property.
> There (in template) I have select with option ng-repeat.
> But how i initiate server request?
> And what should I do with response?
> Put data to scope?
> Do i need to clear list after focus on select is lost?
>
>  --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to