简体   繁体   English

ASP.NET MVC中的Handsontable Grid

[英]Handsontable Grid in ASP.NET MVC

I am trying to use " Handsontable Grid " in a ASP.NET MVC (Razor) project. 我试图在ASP.NET MVC(Razor)项目中使用“ Handsontable Grid ”。 Have anyone used it before? 以前有人用过吗? Is it possible? 可能吗? Could you please provide some sample as a starting point? 你能否提供一些样品作为起点?

Thank You. 谢谢。 Best Regards. 最好的祝福。

Yes, but there is really no "real" interaction between Handsontable and MVC. 是的,但Handsontable和MVC之间确实没有“真正的”互动。

Handsontable grid is databound to an array. Handsontable网格被数据绑定到一个数组。 It has no built-in properties where you can set an URL for the plugin to get and post data by itself; 它没有内置属性,您可以在其中设置插件的URL以自行获取和发布数据; you are responsible for handling ajax getting and posting data, as well as marshalling and unmarshalling your json or xml to array. 您负责处理ajax获取和发布数据,以及将json或xml编组和解组到数组。

Javascript performance is crucial for UI responsiveness. Javascript性能对于UI响应性至关重要。 Large grid on IE8 may not run well for intense editing. IE8上的大网格可能无法用于强烈编辑。 That might not be a real issue since, in my opinion, the real killer feature is cutting and pasting to and from Excel, you can simply advise your users to use Excel if they need to do heavy editing. 这可能不是一个真正的问题,因为在我看来,真正的杀手级功能是剪切和粘贴到Excel,您可以简单地建议用户使用Excel,如果他们需要进行大量编辑。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM