1. #21
    Sencha User
    Join Date
    Jan 2014
    Location
    pittsburg , PA
    Posts
    32
    Vote Rating
    0
    arunmatics is on a distinguished road

      0  

    Default


    It works fine. I changed according to my stuff.

    in that is there any possible to display some static rows in between 10 rows at after 5 rows ?

    Thanks,
    Arun Kumar

  2. #22
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,882
    Answers
    653
    Vote Rating
    439
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    You can display a row in the grid with different attributes using getRowClass:

    As seen here:
    http://ext4all.com/post/how-to-chang...ckground-color

    Disable selection:
    Code:
        grid.on('beforeselect', function(view, record, item, index, node, e) {
           return false; // disable select based on condition
        });