PDA

View Full Version : [CLOSED] can ext.net do this gridpanel?



tobros
Jun 19, 2013, 3:18 AM
the online demo is
http://app.youshang.com/default.jsp?dbid=66668888
6404
when user click the grouped grid , the columns merge to one column to edit. when leave cursor, the column Separate to several columns again to show the number

Baidaly
Jun 19, 2013, 4:18 AM
Hello!

What we have to do to see this online sample? Can you provide steps?

6405

tobros
Jun 19, 2013, 4:23 AM
Hello!

What we have to do to see this online sample? Can you provide steps?

6405

visit
http://kuaiji.youshang.com/
click 立即体验
then click 录凭证

Daniil
Jun 19, 2013, 6:51 AM
Hi @tobros,

I am posting here a screenshot of that grid.
6406

I would say yes, it is possible to implement such a grid using Ext.NET. At least, very similar.

For the beginning, you will need column grouping:
http://examples2.ext.net/#/GridPanel/Miscellaneous/ColumnHeaderGroup/
and a summary row:
http://examples2.ext.net/#/GridPanel/Plugins/Summary/

tobros
Jun 19, 2013, 7:09 AM
the online demo is
http://app.youshang.com/default.jsp?dbid=66668888
6404
when user click the grouped grid , the columns merge to one column to edit. when leave cursor, the column Separate to several columns again to show the number

can achive functions described above?

Daniil
Jun 19, 2013, 1:34 PM
Well, there is no a built-in feature to get such editing, but I think it is possible to implement. It might be difficult, but, again, possible.

I can't see any way to re-use current editing functionality. So, it should be done from scratch.

I would listen to a click event on columns where an editor should appear. When such a click occurs I would show a floating NumberField. It should be sized manually to fill all the columns in a clicked row. Then listen to a NumberField's mouse leave event to finish editing. A NumberField's value should be put to respective columns manually.

Daniil
Jun 28, 2013, 1:43 PM
The thread is related to these ones:
http://forums.ext.net/showthread.php?25437
http://forums.ext.net/showthread.php?25470