Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to send List<Map> data from client to server using DsRequest?

    hello!
    I want to use DsRequest send List<Map> data from client to server.Can you give me some suggestion how to do it? thank you!

    #2
    need help

    anyone can help me? I very want to resolve this problem.

    Comment


      #3
      Did you see DataSource.performCustomOperation()?

      Comment


        #4
        I've tried to use DSRequest me too but without results... It's very difficult to understand how to use it...

        Finally I've passed to server my informations with a custom ListGridRecord:

        Code:
        ListGridRecord rec = new ListGridRecord();
        rec.setAttribute("attribute", value);
        
        listGrid.getDataSource().performCustomOperation("test", rec, new DSCallback() {
        
             @Override
             public void execute(DSResponse response, Object rawData, DSRequest request) {
                   // TODO Auto-generated method stub
        
              }
           }, new DSRequest());

        Comment

        Working...
        X