Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22

Thread: Calculated field in model

  1. #21
    Sencha User
    Join Date
    Jan 2014
    Location
    pittsburg , PA
    Posts
    32
    Vote Rating
    0
      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
    9,388
    Answers
    716
    Vote Rating
    499
      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
        });

Page 3 of 3 FirstFirst 123

Posting Permissions

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