Grid with interactive drag & drop row ordering.
4 posts
• Page 1 of 1
Grid with interactive drag & drop row ordering.
Has anyone implemented such a mechanism? I'm looking for ideas for the most visually interactive grid ordering without requiring a popup with a ListView, which supports DragItem.
I.e. visibly drag a row with its its outline to a different position.
* HTMLRenderer is not an option.
I.e. visibly drag a row with its its outline to a different position.
* HTMLRenderer is not an option.
-
norbertjurkiewicz84 - Posts: 62
- Joined: Mon Nov 01, 2010 7:26 pm
Re: Grid with interactive drag & drop row ordering.
Actually I disagree - I think the HTMLRenderer is a great tool as long as you don't use it with static page uploads. To build a grid in raw JS/HTML5 would be painful.
It natively supports WebSockets like a browser (which is what it is of course) so you can work interactively with it.
Syncfusion JavaScript objects have drag options and I have started to implement a similar version to the ⎕wc Grid. I haven't put in drag/drop yet but I think it would be very possible.
Certainly from what I've seen my qWC soln using the HTMLRenderer will be the way to go. Future proofed by using Web Assembly with the HTMLRenderer with the by-product of it working web wise with browsers without change other than adding a web server behind the scenes.
I confess I was shocked at how nice the result was when I got the HTMLRenderer to work with it (WITHOUT the need of any static web server like MiServer).
It natively supports WebSockets like a browser (which is what it is of course) so you can work interactively with it.
Syncfusion JavaScript objects have drag options and I have started to implement a similar version to the ⎕wc Grid. I haven't put in drag/drop yet but I think it would be very possible.
Certainly from what I've seen my qWC soln using the HTMLRenderer will be the way to go. Future proofed by using Web Assembly with the HTMLRenderer with the by-product of it working web wise with browsers without change other than adding a web server behind the scenes.
I confess I was shocked at how nice the result was when I got the HTMLRenderer to work with it (WITHOUT the need of any static web server like MiServer).
-
MikeHughes - Posts: 86
- Joined: Thu Nov 26, 2009 9:03 am
- Location: Market Harborough, Leicestershire, UK
Re: Grid with interactive drag & drop row ordering.
Unfortunately, it's not an option since this is for v14. I'd also like to avoid a major UI refactor by sticking with the existing grid.
-
norbertjurkiewicz84 - Posts: 62
- Joined: Mon Nov 01, 2010 7:26 pm
Re: Grid with interactive drag & drop row ordering.
Hi Norbert,
Just some quick thoughts.
That would be challenge to achieve with the existing win32 Grid object in v14, but it should be possible. A possible starting point could be the TextMatrix (TM) in the CPro class library, where there is the basic functionality already implemented with a simple context menu.
Probably a few quadNA calls would do the job,
or dragging a fake screen shot of the row (or just the title) with some plain MouseMove events.
HTH
Just some quick thoughts.
That would be challenge to achieve with the existing win32 Grid object in v14, but it should be possible. A possible starting point could be the TextMatrix (TM) in the CPro class library, where there is the basic functionality already implemented with a simple context menu.
Probably a few quadNA calls would do the job,
or dragging a fake screen shot of the row (or just the title) with some plain MouseMove events.
HTH
-
JoHo - Posts: 37
- Joined: Sat Nov 28, 2009 12:51 pm
- Location: Austria, EU
4 posts
• Page 1 of 1
Return to Windows: GUI, COM/OLE/ActiveX
Who is online
Users browsing this forum: No registered users and 0 guests
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group