Results 1 to 2 of 2

Thread: Reload treegrid by passing a parameter

  1. #1
    Sencha User
    Join Date
    Jan 2011
    Vote Rating

    Default Reload treegrid by passing a parameter

    Someone plz help in reloading a treegrid by passing a parameter or attribute to the servlet

    my tree grid is

    var tree = new Ext.ux.tree.TreeGrid({
    title: 'Core Team Projects',
    // width: (Ext.get('myTabPanel').getWidth()-30),
    height: 500,
    renderTo: Ext.getBody(),
    enableDD: true,
    // editable:true,
    header: 'Name',
    dataIndex: 'name',
    width: 230
    header: 'length',
    width: 150,
    sortType: 'asFloat',
    dataIndex: 'length'
    loader: new Ext.ux.tree.TreeGridLoader({
    dataUrl: "/DataMig/programVariablesServlet",
    requestMethod: "GET",
    baseParams: {
    param: "1"

    i tried something like this

    param: "3"

    I changed the parameter(param) value to 3.But it didnt work....Pls help

    Thanks in advance..
    Last edited by athaduphani; 3 Feb 2012 at 12:17 AM. Reason: updated code

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    1. Please post into the appropriate forum. I have moved this to the Ext JS 3 Help forum for you.
    2. Please always wrap you code in [CODE] tags.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Tags for this Thread

Posting Permissions

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