Results 1 to 4 of 4

Thread: how to get data from database to an ui screen in extjs

  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    4
    Vote Rating
    0
      0  

    Default how to get data from database to an ui screen in extjs

    Can any body give a sample example on" how to get data from database to an UI screen in ExtJs"

  2. #2
    Sencha User sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,335
    Vote Rating
    91
      0  

    Default Use Ext.Ajax

    HI!
    You may want to know about Ext.Ajax .This class is used to communicate with your server side code. It can be used as follows:

    Code:
    
    Ext.Ajax.request({ 
       url: 'page.php',
        params: {        id: 1    },
        success: function(response){
            var text = response.responseText;        // process server response here
        }
    });
    For more specifications, check this:- http://docs.sencha.com/ext-js/4-0/#!/api/Ext.Ajax
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    May 2012
    Posts
    4
    Vote Rating
    0
      0  

    Default

    Hi sword-it,
    that's great but can you give an example using servlet ??

  4. #4
    Sencha User
    Join Date
    Dec 2011
    Posts
    20
    Vote Rating
    0
      0  

    Default json data

    Can you put your sample JSON data?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •