Results 1 to 2 of 2

Thread: Array Grid Example

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ext User
    Join Date
    Mar 2007
    Vote Rating

    Default Array Grid Example

    Hi,jack.I'm a newbie to yui and yui-ext.

    I just followed the instructions to build a grid using array data.But I found a weird behavior. When clicking the table header to sort,the grid selects all the datas automatically.

    The only differences between the example and my test webpage is grid content.All rows have the same data in my grid.

    I guess it must be a bug. When the grid is holding the same rows and receving a request to sort the data, it selects all datas.

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    New York, NY
    Vote Rating


    The grid's selection are maintained by row id. If you don't implement getRowId on the data model, it by default uses the value in column 0. There another thread on this with an example, search for getRowId.

Similar Threads

  1. Grid: Paging of JavaScript Array already in memory
    By Preston in forum Ext 1.x: Help & Discussion
    Replies: 35
    Last Post: 27 Nov 2013, 10:26 AM
  2. Array-grid example, maximum column allow is 21?
    By eric_sato in forum Ext 1.x: Bugs
    Replies: 1
    Last Post: 28 Mar 2007, 8:19 PM
  3. Populating Array Grid with one column hidden
    By in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 16 Feb 2007, 8:15 AM
  4. How to call array-grid?
    By sailaja in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 16 Jan 2007, 6:56 AM
  5. Array-Grid in YUI
    By sailaja in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 10 Jan 2007, 3:18 AM

Posting Permissions

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