If the first column contains an image - the Grid is not displayed

  • Hi,

    I created Grid with 3 columns. If the first column contains a number, and the second column contains an image (), all the rows in the grid are presented.

    BUT: when the first column contains the image, and the second column contains the number - only the first row is presented. No JS error.

    Please advise.

    Thanks,
    Maya


  • This will not be an Ext bug, this works just fine:

    http://extjs.com/forum/attachment.php?attachmentid=531&stc=1&d=1180435261

    It's more likely to be something you're doing

    Show us your code.


  • IDs must be unique. You are telling it to use element zero as the id, and they are all the same.


  • Thanks- this was the problem.

    If I give no id - the id is created automatically?


  • Thanks for your help.


  • Code #1 works fine, in code #2 the only difference is that: the first and second columns were switched. As you can see, in this case: only the first row is presented.

    Thanks,
    Maya


    Code #1:
    -------------


    Code #2:
    -------------


  • Yes, Ext will assign an id to each row.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about If the first column contains an image - the Grid is not displayed , Please add it free.