|
| Webdev 22 Drag and drop tables or list box |
| Iniciado por guest, 30,nov. 2017 22:08 - 6 respuestas |
| |
| | | |
|
| |
| Publicado el 30,noviembre 2017 - 22:08 |
Hello All,
Is it possible to program drag and drop in tables?
In the help it says you can on list box but not able to get it to work.
I have done it in Windev and understand it well just can not for the life of me get it to work in WEBDEV.
DW |
| |
| |
| | | |
|
| | |
| |
| Publicado el 02,diciembre 2017 - 22:03 |
| |
| |
| | | |
|
| | |
| |
| Publicado el 03,diciembre 2017 - 15:56 |
Hi DW,
Did you look at the unit examples. There is one called "The features of drag and drop HTML5".
Best regards,
Aad |
| |
| |
| | | |
|
| | |
| |
| Publicado el 03,diciembre 2017 - 22:28 |
Hello Aad,
Yes I did the example works I use the same code and list box I get nothing.
DW |
| |
| |
| | | |
|
| | |
| |
| Publicado el 03,diciembre 2017 - 23:24 |
Hi DW,
Just to be on the save side, did you the put HTML5 switch on at the projectdesdription tab->Advanced "Options for generating the HTML5 code" ?
Best regards,
Aad |
| |
| |
| | | |
|
| | |
| |
| Publicado el 04,diciembre 2017 - 02:22 |
Hello Again Aad,
That is yes. I going to take a few days off and try again later in the week.
Thanks for your input.
DW |
| |
| |
| | | |
|
| | |
| |
| Publicado el 04,diciembre 2017 - 09:56 |
Hi DW,
DnD in WB is only possible with most simple controls like edit boxes, list boxes, images, ... But as far as I know (haven't looked at WB22 anymore) impossible on tables, treeviews, loopers, etc... I certainly sent enhancement requests to PCS on this going back to WB19 or even WB18. Maybe there are enhancements in WB23 in this area but I haven't verified.
Have tried doing DnD on tables and loopers with JQuery a couple of years ago but as far as I got the DOM on these WB objects is impossible to be exploited out of JQuery. That was and still is my main criticism on WB: it's not standard nor open, very proprietary with an absolute lack of control on the generated html/css making it impossible to easily make advanced high performant front ends for the web... On top of that you can't use third party UI libraries like the ones from Syncfusion or Telerik which are way more advanced than the WB native ones. These are the main reasons we decided to drop WB two years ago.
Doing DnD for the web using 'standard/more open' web technologies and IDE's works out of the box in most cases and you'll find millions of examples on how to achieve that (with e.g. the UI updating to highlight the insertion point during the dragging and a post back to save the changes during the drop for example).
It will work for the basic controls in WB, but reading your requirement about doing DnD with tables is completely impossible to my knowledge I'm afraid.
Just my 2 cents,
Peter H. |
| |
| |
| | | |
|
| | | | |
| | |
|