getRowClass - documentation

  1. #1

    getRowClass - documentation

    I need to get any documentation for this function. I need to operate on "record", "rowIndex" and "store", but intellisense in Visual Studio 2010 is not showing the correct prompts (I have to guess). What should I do to see all available options for them?
    Last edited by matthew; Jul 11, 2013 at 9:13 AM. Reason: formatting
  2. #2
  3. #3
    Yes I have seen this already. But the thing is that there was no intellisense and no hints after typing "record".
    For future searchers, I got it working by this code:

    var getRowClass = function (record, rowIndex, store )
    {

    var record = Ext.StoreMgr.lookup("Store1").getAt(rowIndex);//get record from the store
    if (record.data.KOLOR==1) return "kolor1"; //the css class to return
    if(record.data.KOLOR==2) return "kolor2";
    }
  4. #4
    Record is passed already to the getRowClass handler (see first argument), you don't need to get it by index
  5. #5
    Ah ok. Thank you :)

Similar Threads

  1. Set GetRowClass in code behind
    By Rupesh in forum 1.x Help
    Replies: 1
    Last Post: Apr 17, 2012, 4:38 PM
  2. Replies: 2
    Last Post: Jun 27, 2011, 12:27 PM
  3. [CLOSED] [1.0] Does GetRowClass still work the same in 1.0?
    By SFritsche in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 05, 2010, 1:14 PM
  4. rowIndex in GetRowClass - possible?
    By Tbaseflug in forum 1.x Help
    Replies: 2
    Last Post: Sep 23, 2009, 10:25 PM
  5. GridPanel GetRowClass
    By louis in forum 1.x Help
    Replies: 4
    Last Post: Mar 04, 2009, 11:15 AM

Tags for this Thread

Posting Permissions