how to change the row background colour based upon some criteria in EXTJS -


dear sir/madam, i'm new extjs coding.i'm learning it.i've come across problem of changing row background colour based upon criteria in complete extjs coding.can me,please ?

you have use getrowclass method in gridview set custom css class of row:

viewconfig: {     forcefit: true,     showpreview: true, // custom property     enablerowbody: true, // required create second, full-width row show expanded record data     getrowclass: function(record, rowindex, rp, ds){ // rp = rowparams         if(record.get('isred')){             return 'x-grid3-row-red';         }     } }, 

where have defined css class x-grid3-row-red.

look method getrowclass in documentation: http://dev.sencha.com/deploy/dev/docs/?class=ext.grid.gridview


Comments

  1. What is online gambling and how can I withdraw money from
    Online gambling and how can 남원 출장안마 I withdraw money from casinos 충주 출장마사지 and how 공주 출장샵 can I withdraw money from casinos and how 광주광역 출장샵 can I withdraw money 전라남도 출장안마 from casinos and how can I withdraw money from

    ReplyDelete

Post a Comment

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -