1. #1
    Ext User
    Join Date
    Oct 2007
    Posts
    48
    Vote Rating
    0
    cprabha is on a distinguished road

      0  

    Default Height setting in Extjs Grid

    Height setting in Extjs Grid


    How to solve this issue can you help?

    I have listed 10 records in Extjs Grid,My need the height of the grid should be 5 Records with in this user can scroll and view 10 records. (I have tried with by setting the height of the grid in this case i faced issue while rendering the grid , ie grid expanded to 10 records displayed after that grid height reduced).

    Thanks ,

  2. #2
    Sencha User razvanioan's Avatar
    Join Date
    Feb 2008
    Location
    Romania
    Posts
    73
    Vote Rating
    1
    razvanioan is on a distinguished road

      0  

    Default


    Can you be more specific ?

    I didn't understand your question.

  3. #3

  4. #4
    Ext User
    Join Date
    Oct 2007
    Posts
    48
    Vote Rating
    0
    cprabha is on a distinguished road

      0  

    Default Details for Faced issue While Expanding Grid

    Details for Faced issue While Expanding Grid


    Thanks for Reply..

    Grid Code:

    grid_listing = new Ext.grid.GridPanel({
    title:TodaysTasks,
    el:"summary_task-grid",
    store: dsTask,
    id:'task_id',
    colModel: cmTask,
    bbar:pagingTask ,
    autoExpandColumn :'def_col',
    autoScroll:true,
    width:GRID_WIDTH,
    height:190,//Height of the grid fixed for 5 Records
    autoScroll:true,
    frame:true,
    fitToFrame:true,
    border:false,
    collapsible:true,
    collapsed:true //By default grid will be in collapse mode.
    });

    grid_listing.render();
    pagingTask.render(pagingTask.field.setWidth(50));
    dsTask.on('load', checkTaskDataCount, true);
    dsTask.load({params:{start:0, limit:10}});//Grid Limit 10 Records


    Problem Faced:While clicking expand Icon in Grid,Grid Expanded upto 10 Records after that height of the grid changed to 5 Records....


    Thanks in Advance......

  5. #5

  6. #6
    Ext User
    Join Date
    Oct 2007
    Posts
    48
    Vote Rating
    0
    cprabha is on a distinguished road

      0  

    Post Can you help to change the height of the grid

    Can you help to change the height of the grid


    Is it possible to change the height of the grid dynamically while clicking expand Icon?

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar