How to turn in the GridPanel data into Xml and Json format

  1. #1

    How to turn in the GridPanel data into Xml and Json format

    I want to know how to using c # on the server turn GridPaneld into Xml and Json data
  2. #2
    Hello!

    I'm not sure I'm following you. Can you clarify, you want to receive GridPanel's data on Server Side?

    If it is, you can send it from the client to server using the following method:
    Ext.encode(GridPanel1.getRowsValues())
    You can on this sample: https://examples1.ext.net/#/GridPanel/ArrayGrid/Simple/ . It'll be array of values.
  3. #3
    Quote Originally Posted by Baidaly View Post
    Hello!

    I'm not sure I'm following you. Can you clarify, you want to receive GridPanel's data on Server Side?

    If it is, you can send it from the client to server using the following method:
    Ext.encode(GridPanel1.getRowsValues())
    You can on this sample: https://examples1.ext.net/#/GridPanel/ArrayGrid/Simple/ . It'll be array of values.
    Thank you

    1、I mean my data from the database in the GridPanel, now I want to put that data in a table data into Xml or Json format
    2、I remove the data from the database to exist the DataTable binding in the GridPanel, but show only a few lines of data, specific information is not displayed, this is how to return a responsibility
  4. #4
    You mean you want to serialize data from DataBaese Json or Xml format?

Similar Threads

  1. Issues with JSON format
    By Tomas Voracek in forum 2.x Help
    Replies: 2
    Last Post: Feb 04, 2013, 12:11 PM
  2. Replies: 0
    Last Post: Feb 20, 2011, 6:29 PM
  3. [CLOSED] Store Data as JSON
    By amitpareek in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 08, 2010, 1:25 AM
  4. Paging with json data
    By yobnet in forum 1.x Help
    Replies: 0
    Last Post: Dec 02, 2009, 7:53 AM
  5. [CLOSED] JSON to data table
    By HOWARDJ in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 26, 2009, 2:06 PM

Posting Permissions