关于AngularJS Grid的疑问 [英] Doubts regarding AngularJS Grid

查看:112
本文介绍了关于AngularJS Grid的疑问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在实施angularJS网格并使用ng-grid。我参考了 http://angular-ui.github.io/ng-grid/ 的例子[ ^ ]



这里的数据是硬编码的,并显示在网格上。我有一套问题。



1.如何绑定从WCF服务获得的数据?

2.我希望gridcell可以在tab事件上编辑。我该如何执行此操作?

3.编辑网格单元时,选项卡输出单元格中的数据将作为WCF服务的输入,该服务将返回要在剩余单元格中填充的数据。 gerow。



如果有人可以推荐可编辑的gridview,那也可以部分进行。



请,如果有人可以帮忙解决这个问题。

谢谢。

Hi I''m implementing angularJS grid and using ng-grid for the same. I refered to the example at http://angular-ui.github.io/ng-grid/[^]

Here the data is hard coded and gets shown on the grid. I have a set of question.

1. How can I bind the data that is obtained from a WCF service ?
2. I want the gridcell to be editable on tab event. how can I perform this ?
3. When the gridcell is edited the data in the cell on tab out will be given as an input to the WCF service which will return data to be populated in remaining cells of the gridrow.

If anyone can suggest about editable gridview, that can also do partially.

Please , if anyone can help regarding this issue.
Thank you.

推荐答案

我已经浏览了谷歌上的各种链接,发现了ngGrid不支持2.0中的焦点可编辑功能



我为此创建了一个自定义控件,可以在焦点可编辑网格上进行移位排列。

你们都可以在我的博客上查看:



http://travelcodingnlotsmore.wordpress.com/2013/05/21/on-focus-editable-grid-in-angularjs/ [ ^ ]



反馈表示赞赏,这不是实际网格,而是可以完成的转换安排。
I have gone through various links on google and found out that ngGrid does not support on focus editable functionality in 2.0

I created a customed control for this which can be make shift arrangement for on focus editable grid.
You all can check this on my blog :

http://travelcodingnlotsmore.wordpress.com/2013/05/21/on-focus-editable-grid-in-angularjs/[^]

Feedback is appreciated, this is not actual grid but a make shift arrangement that can be done.


这篇关于关于AngularJS Grid的疑问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆