jQWidgets Forums

Forum Replies Created

Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts

  • swisspen
    Participant

    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
    SP


    swisspen
    Participant

    Thanks very much Dimitar! Will give this a try now that my workload is lighter.


    swisspen
    Participant

    Okay, 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
    SP


    swisspen
    Participant

    Thanks 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.


    swisspen
    Participant

    Now 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
    SP


    swisspen
    Participant

    Ok, 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
    SP

    in reply to: "sortable" crashes my Grid "sortable" crashes my Grid #23501

    swisspen
    Participant

    Mariya, 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.)

    in reply to: "sortable" crashes my Grid "sortable" crashes my Grid #23498

    swisspen
    Participant

    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.
    SP


    swisspen
    Participant

    I 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

Viewing 9 posts - 16 through 24 (of 24 total)