简体   繁体   English

ASP.NET MVC Kendo网格的编辑自定义编辑器和批处理编辑之间的区别

[英]Difference between Editing Custom Editor and Batch Editing for ASP.NET MVC Kendo Grid

Is there any difference between Custom Editor for ASP.NET MVC Kendo Grid and Batch Editing for ASP.NET MVC Kendo Grid ? ASP.NET MVC Kendo网格的自定义编辑器与ASP.NET MVC Kendo网格的批处理编辑之间有什么区别吗?

As in the demos for grid of "Editing custom editor" there is no save button available in the screen, still it seems the edited data is getting saved. 就像在“编辑自定义编辑器”网格的演示中一样,屏幕上没有可用的保存按钮,但似乎已保存了已编辑的数据。

Please find below the links : http://demos.telerik.com/aspnet-mvc/grid/editing 请在下面的链接中找到: http : //demos.telerik.com/aspnet-mvc/grid/editing

http://demos.telerik.com/aspnet-mvc/grid/editing-custom http://demos.telerik.com/aspnet-mvc/grid/editing-custom

Also illustrate what is the use of "Editing custom editor" 还说明“编辑自定义编辑器”的用途

Thanks. 谢谢。

The custom editing "inline" example does a save straight after the data is changed. 定制编辑“内联”示例在更改数据后立即进行保存。 where as the batch editing stores up the changes and expects the user to save them back to the server in one go. 批处理编辑存储更改的位置,并希望用户一次将其保存回服务器。

The custom editing example is there to show you that you could have a complex editing type so for example if you had an id field which relates to some text data eg id 1 = "Something A" and id 2 = "Something B" then is could be represented as a combobox, multiselect or a radio button list. 这里有一个自定义编辑示例,向您展示了您可能具有复杂的编辑类型,例如,如果您有一个与某些文本数据相关的id字段,例如id 1 =“ Something A”和id 2 =“ Something B”,则为可以表示为组合框,多选或单选按钮列表。 Or if this is something that is even more complex then this could be combined together to show you just some summary data in the non-editing version but has a bunch of controls that live underneath it for the editing version. 或者,如果这是更复杂的事情,则可以将它们组合在一起,以仅在非编辑版本中向您显示一些摘要数据,但在编辑版本下具有大量控件。

Although the examples are a great starting point I find them a little too trivial for the editing sides of the grids and something a bit more complex would be really great from the Kendo team. 尽管这些示例是一个很好的起点,但我发现它们对于网格的编辑方而言过于琐碎,对于Kendo团队而言,有些复杂的事情确实很棒。

I hope this answers your question. 我希望这回答了你的问题。

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

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