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

      0  

    Question Conditional Ext.ux.grid.RowExpander

    Conditional Ext.ux.grid.RowExpander


    Hello everybody,

    i'm using Ext.ux.grid.RowExpander in a grid.
    What I would like to do is: only show the Maximize ico (activate RowExpander) for rows of the grid, where a specific field of the record is greater than 0.

    Is this possible?

  2. #2
    Ext User
    Join Date
    Oct 2007
    Posts
    19
    Vote Rating
    0
    UnarmedHunter is on a distinguished road

      0  

    Default


    i think i solved this by myself. I used a renderer, like this:

    Code:
    renderer: function(val,a,rec) {if(rec.data.childs > 0)return '<div class="x-grid3-row-expander">&nbsp;</div>';}
    Is this solution acceptable?

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