简体   繁体   English

MS excel像Web ui中的功能一样复杂吗?

[英]MS excel like functionality in web ui with more complexity?

I have swing application in which there is MS excel like functionality. 我有一个摆动应用程序,其中有MS excel之类的功能。 User can enter data in the columns. 用户可以在列中输入数据。 Most of the columns are drop down lists, so use have to select from the list. 大多数列都是下拉列表,因此必须从列表中进行选择。

Can this functionality be easily built in Adobe Flex or GWT? 可以在Adobe Flex或GWT中轻松构建此功能吗?

Second complexity is depending upon what value is selected in a column, another column should show only those items which are related to selected value of first column. 第二复杂度取决于在一列中选择的值,另一列应仅显示与第一列的选定值相关的那些项。

Its not country city data but for simplicity I am taking this example. 它不是乡村城市的数据,但是为了简单起见,我以这个例子为例。

For example, first column is country and the second column is city. 例如,第一列是国家,第二列是城市。 So depending upon what country is selected the second column will show only cities under that country. 因此,根据选择的国家/地区,第二列将仅显示该国家/地区下的城市。

Its not just two drop down list on a page, its dropdowns of a row in a grid strructure. 它不仅是页面上的两个下拉列表,还是网格结构中一行的下拉列表。

Is this possible in Adobe Flex or GWT or anyother web UI framework apart from Swing? 除Swing外,是否可以在Adobe Flex或GWT或任何其他Web UI框架中使用?

ExtJS' EditorGridPanel for instance? 例如ExtJS的EditorGridPanel
http://www.extjs.com/deploy/dev/docs/?class=Ext.grid.EditorGridPanel http://www.extjs.com/deploy/dev/docs/?class=Ext.grid.EditorGridPanel

I don't think you'll get this kind of functionality out of the box from any framework. 我认为您不会从任何框架中立即获得这种功能。 You'll have to develop your particular functionality on top of existing components. 您必须在现有组件之上开发特定的功能。

Using GWT, the built in FlexTable & ComboBox widgets and a downloaded EditableLabel ( http://gwt-widget.sourceforge.net/docs/apidocs/org/gwtwidgets/client/ui/EditableLabel.html ) widget you'd be able to build the basics of what you want. 使用GWT,内置的FlexTable和ComboBox小部件以及下载的EditableLabel( http://gwt-widget.sourceforge.net/docs/apidocs/org/gwtwidgets/client/ui/EditableLabel.html )小部件,您将能够建立您想要的基础。 How well it would work/perform all depends on how you build it and how many rows/columns you want. 它的工作/执行效果如何取决于您的构建方式以及所需的行数/列数。 If you want something big and ultra slick then Flex would be a pretty safe bet, if you just want to keep it small (eg: Google Docs style) then GWT will do just fine. 如果您想要一些大而超滑的东西,那么Flex将是一个相当安全的选择,如果您只想使其保持较小(例如:Google Docs风格),那么GWT会很好。

All GWT widgets support attaching various listeners to them, so there would be no problem in firing actions that change cells just like you do in Swing. 所有GWT小部件都支持将各种侦听器附加到它们,因此触发更改单元格的动作就像在Swing中一样不会出现问题。

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

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