DroidDr

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • in reply to: clientSide and sorting issue #95356
    DroidDr
    Participant

    Hello again,

    I am back on this project.

    Does someone

    in reply to: [HELP] About Export to Excel #95149
    DroidDr
    Participant

    Hi,

    I have written a few pages with a pear php package that does just that: create an excel document and send it back to the browser. The browser then automatically opens excel.

    I am not sure if this fits what you need, but here you go:

    http://pear.php.net/package/Spreadsheet_Excel_Writer/redirected

    Best wishes.

    in reply to: clientSide and sorting issue #95042
    DroidDr
    Participant

    Thanks for the reply!
    After reading on your latest version, I moved to version 3.7.1 as i contains local sorting and editing.

    I did a test screen with generic data and cut down to the minimum so I can illustrate what I am trying to do, I specify data as local.

    So what I did:

    1- Everytime data is edited, I update the data item in the grid. (getGridParam(“data”), then update data in array

    2- I use sortablerows, so when the dragging of a row is finished, I update data in the grid array.

    3-

    in reply to: Reload Row? #94917
    DroidDr
    Participant

    Hi,

    Perhaps you can use a grid event like afterSubmitCell. Using the rowid of the event, you can do a request to the server to get the latest data. Would that work for you?

    If you are not submitting to the server, you could use afterSaveCell and then from there do a request to the server?

    After getting the data you can use the

    in reply to: Highlighting of selected row and drag and drop issue. #94899
    DroidDr
    Participant

    I was pretty sure my row ids are unique. When I load data with my custom ajax request, the first id is 1 then 2, 3, 4, etc.

    For now I solved the issue by doing this

    – when drag starts, I remove all classes that do the highlighting of the row

    – I deselect the selected row if any.

    – I select the dragged row when dropped.

    This works for now and fixes my issue.

    Thanks again for the great work and help Tony.!

Viewing 5 replies - 1 through 5 (of 5 total)

Stay connected with us in your favorite flavor!