jQWidgets Forums
Forum Replies Created
-
Author
-
July 22, 2013 at 6:48 am in reply to: Drag a row from one grid to another Drag a row from one grid to another #25550
Thanks again, Dimitar! This is exactly what I was looking for. (I’m still on that steep jQuery learning curve, with not much time …)
Regards
SPJuly 21, 2013 at 8:11 pm in reply to: Drag a row from one grid to another Drag a row from one grid to another #25545Thanks very much Dimitar! Will give this a try now that my workload is lighter.
July 16, 2013 at 9:46 am in reply to: Drag a row from one grid to another Drag a row from one grid to another #25233Okay, I wasn’t very clear when I tried to explain! I already know how to drag from a grid to a form, as I said above. I used the Drag to a Form demo to achieve my current solution.
And I have gone through the Default Functionality demo with a fine tooth comb, so I know that demo well too. But the two ways of coding are very different between the Drag to Form demo and the Default Functionality demo. One is quite straightforward, but the other has classes. After many attempts to blend the two ways of doing it, I still can’t figure it out.
I am very familiar with both demos. But the Default one uses pictures, each picture apparently being an object with a property. I am dragging a line, not an image object.
Thanks
SPJune 25, 2013 at 11:22 am in reply to: SIMPLE drag-drop example with jqxgrid? SIMPLE drag-drop example with jqxgrid? #23834Thanks very much, Mariya. I also found the Drag and Drop, Drag to a Form demo, which makes me re-evaluate my interface design choices somewhat.
June 23, 2013 at 8:11 am in reply to: SIMPLE drag-drop example with jqxgrid? SIMPLE drag-drop example with jqxgrid? #23634Now I’m even more confused. According to this forum user, you can drag-drop rows:
http://www.jqwidgets.com/community/topic/drag-drop-grid-rows-of-a-group/
… but he doesn’t say how exactly this works, just mentions getting all the “cells”. is there no way to isolate a grid element as a “row”?
I have been trying to use getrowdata, but so far can’t access the individual data in the JSON object that is returned. In theory, if I had an #element that corresponded to the data in one row, I could then drag and drop it, right?
Thanks
SPJune 23, 2013 at 6:06 am in reply to: SIMPLE drag-drop example with jqxgrid? SIMPLE drag-drop example with jqxgrid? #23633Ok, so after looking at the API, it seems there is no “row” property. It looks as though the only way to select items and transfer them will be with the checkbox – no dragging and dropping.
Is it envisaged to make a separately movable row property in the future?
Tks
SPMariya, I use my console all the time, but did not for this issue because I thought I had already done everything that was necessary.
This is really a problem of being over-confident because I have years of experience. (Dumb, stupid, … I know.)
Thank you so much, Mariya! I had only included the files that looked relevant to me, so it wasn’t until I included “jqxmenu.js” that my widget worked properly. Goes to show that one can’t make too many assumptions about what a widget needs.
All works perfectly now.
SPJune 19, 2013 at 4:29 am in reply to: 2 jqxListBoxes, each getting data from MySQL 2 jqxListBoxes, each getting data from MySQL #23367I discovered the problem. Firstly, for some reason my urls were cut off when I pasted them into this forum post.
At some point while try to debug, I had decided to use 2 different files for the responses to the 2 queries, although the only thing different about them was one input parameter. As soon as I made that one single response file, and simply posted different input params into the url, the second box populated.
The two versions of “url” in my script are now:
for data1:
url: ‘stcg-json-current-mem-act.php?eventId=’,
and for data2:
url: ‘stcg-json-current-mem-act.php?eventId=’,
SP
-
AuthorPosts