NNKL.COM
welcome to my space
X
Search:  
 HOME   It's aslo the problem of turn page in the grid.
It's aslo the problem of turn page in the grid.
Published by: wktd 2009-01-09
Welcome to:nnkl.com

  • macosxhints.com - Another means of getting a disk usage summary::
    displayed in a two dimentional grid, the size of a square on the grid is overhead of doing a new du for each tree - its a little higher level than the
    http://www.macosxhints.com/article.php?story=20041021013709392
    HOME
    I have a paging grid.

    Everyime when i was on click the next button , it seems there is no responds and it's always the first page . i debug it with firebug and i am sure everytime when i turn page there will be data was transmited to the cilent.

    The data from the server side when i was click the next button.
    {Total: 5, Appeals: [{description: "u5bf9u4e0du8d77uff0cu8be5u533au57dfu4ecau 5929u505cu7535

    uff0cu5c0fu7075u901au57fau7ad9u53d7u5230u 5f71u54cdu3002u7b49u5e02u7535u6062u590du4e e5

    u540euff0cu57fau7ad9u5c06u6062u590du6b63u 5e38u5de5u4f5c", calStatus: null, coordinateY: "3

    .30939e+006", caladdress: "address", calor: "joshua", incomeNumber: "12345678978", typeName: "u5355

    u901a", calTime: {}, detailName: "u505cu7535", id: 6, coordinateX: "2.13647e+007"}, {description:

    "u53efu80fdu662fu624bu673au7ec8u7aefu95eeu 9898uff0cu7279u522bu662fu65b0u624bu673auff 0c

    u6b64u7c7bu6545u969cu7387u8f83u9ad8uff0cu 5efau8baeu68c0u6d4bu624bu673au7ec8u7aefu30 02

    u201cu5bf9u4e0du8d77uff0cu60a8u7684u5c0fu 7075u901au7ec8u7aefu53efu80fdu51fau73b0u95 ee
    EnergyPulse - Insight Analysis and Commentary on the Global Power Industry::
    (446 Page Views) Research on the Characteristics of a Modern Grid: Power Because of deregulation, it is a problem today in Sweden and Norway, and almost
    http://www.energypulse.net/centers/article/article_display.cfm?a_id=1038
    HOME
    Will Super Collider Cause Black Hole? - FAQ: Large Hadron Collider ::
    The formula that indicates it is possible to create a black hole aslo indicates Solar Thermal Power May Make Sun-Powered Grid a Reality. Its solars new dawn.
    http://www.popularmechanics.com/science/extreme_machines/4281928.html?page=4
    HOME

    u9898uff0cu8bf7u60a8u5230u7ec8u7aefu4ea7u 54c1u670du52a1u90e8u68c0u6d4bu3002u201d u5f52

    u4e3au7ec8u7aefu7c7b", calStatus: null, coordinateY: "3.32339e+006", caladdress: "2222222", calor

    : "joshua", incomeNumber: "123456789", typeName: "u6709u4fe1u53f7u53eau80fdu547cu51fa", calTime

    : {}, detailName: "u624bu673au5728u8986u76d6u5730u65b9u90fdu 7ecfu5e38u51fau73b0u65e0u4fe1

    u53f7", id: 7, coordinateX: "2.13574e+007"}]}

    my js
    createGrid : function(){

    this.ds = new Ext.data.Store({
    proxy: new Ext.data.HttpProxy({url: '/appeal/search'}),

    reader: new Ext.data.JsonReader({
    root: 'Appeals',
    totalProperty: 'Total',
    id: 'id'
    }, [
    {name: 'id', mapping: 'id'},
    {name: 'username', mapping: 'calor'},
    {name: 'phone', mapping: 'incomeNumber'},
    {name: 'time', mapping: 'calTime'},
    {name: 'address', mapping: 'caladdress'},
    {name: 'type', mapping: 'typeName'},
    {name: 'judge', mapping: 'detailName'},
    {name: 'desc', mapping: 'description'},
    {name: 'status', mapping: 'calStatus'},
    {name: 'longitude', mapping: 'coordinateX'},
    {name: 'latitude', mapping: 'coordinateY'}
    ]),
    // turn on remote sorting
    remoteSort: true
    });

    // this.ds.setDefaultSort('name', 'asc');

    this.ds.on('beforeload', (function() {
    this.ds.baseParams = {
    start:0,
    limit:this.pageSize,
    forumId : 4,
    phone : this.phone_p,
    name : this.name_p,
    address : this.address_p,
    district : this.district_p,
    start_date : this.start_date,
    end_date:this.end_date,
    appeal_types : ,
    appeal_judges :
    };
    }).bind(this));

    var cm = new Ext.grid.ColumnModel([{
    header: "id",
    dataIndex: 'id',
    width: 70,
    TheMSsForum.com >> Asp >> How to Run sub in contentplaceholder from ::
    The result page is 17k but it takes years to come up. that is updateable but how can I update one row instead of all rows in the grid?
    http://www.themssforum.com/Asp/contentplaceholder-from/
    HOME
    hidden:true
    },{
    // id: 'name', // id assigned so we can apply custom css (e.g. .x-grid-col-topic b { color:#333 })
    header: "XXX",
    dataIndex: 'username',
    width: 70
    },{
    header: "XXXX",
    dataIndex: 'phone',
    width: 70
    },{
    header: "XXX",
    dataIndex: 'time',
    width: 120
    },{
    header: "XXX",
    dataIndex: 'address',
    width: 100
    },{
    header: "XXX",
    dataIndex: 'type',
    width: 120
    },{
    header: "XX",
    dataIndex: 'judge',
    width: 120
    },{
    header: "XX",
    dataIndex: 'desc',
    width: 250
    },{
    header: "XXX",
    dataIndex: 'status',
    width: 50
    },{
    header: "XX",
    dataIndex: 'longitude',
    width: 100
    },{
    header: "XX",
    dataIndex: 'latitude',
    width: 100
    }]);


    cm.defaultSortable = true;

    this.grid = new Ext.grid.GridPanel({
    el:'appeal_grid',
    height:480,
    autoExpandMax:1200,
    autoExpandMin:800,
    ds: this.ds,
    cm: cm,
    selModel: new Ext.grid.RowSelectionModel({singleSelect:true}),
    loadMask: true,
    tbar:[
    new Ext.Button({text:"XXXX",handler:(function(){this.showQueryForm();}).bind( this)}),
    new Ext.Button({text:"XX",handler:(function(){this.summitQuery();}).bind(th is)})
    ],

    bbar:new Ext.PagingToolbar({
    pageSize:this.pageSize,
    store: this.ds,
    displayInfo: true,
    displayMsg: 'Displaying topics {0} - {1} of {2}',
    emptyMsg: "No topics to display"
    })
    });

    this.grid.render();

    WHEN i call the "summitQuery" the grid will be init and get the data from the server side.

    summitQuery : function(){
    this.ds.load({params:{
    start:0,
    limit:this.pageSize,
    phone : this.phone_p,
    name : this.name_p,
    address : this.address_p,
    district : this.district_p,
    start_date : this.start_date,
    end_date:this.end_date,
    appeal_types : ,
    appeal_judges :
    }});
    }

    Is there any wrong with my code?


  • I have solve it ! It's the fault of base parameter.





  • I Am a Sinner – What About You?
    Global Sourcing and Supplier Online by Dylan

    You are looking at:nnkl.com's It's aslo the problem of turn page in the grid., click nnkl.com to home
  • dl us syr sju 157 no min
  • nwa mke fod r t 3 segs each way 213 r t
  • aa ua den bna 134 no min
  • fra connection times on a mileage run
  • lax sat 138 on aa dl nw
  • consolidators
  • ua chi pit 62 no min
  • mr out of dtw
  • fl hpn mco fll pbi rsw for 137 all in
  • dl and others cvg lax 248 all in
  • aa stl mia 138
  • nw cun dtw 98 no min but very strict
  • dreamaps problem
  •  
  • any good mileage runs on ua or dl
  • ord den on continental 3600eqm for 120 all in
  • looking for 003 mile on ua out of lax
  • ua dfw 2 stops hnl ~ 448 all in or less
  • dream maps and ual now working
  • co den bwi 88 no min
  • anybody want to help me choose my mrs
  • is this a good deal
  • aa bwi sea 198
  • fare gone expedia uk aa f lhr jfk 413gbp including tax
  • ewr to bom in oct using ua mileage plus
  • nh jl all japan domestic 7700jpy 70 oct1 5
  • spirit bos dtw myr 9
  • aa co us hp nw sfo oak sjc cle 218 245 259 all in
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 nnkl.com        Site made:CFZ