PDA

View Full Version : How to set dyanamicaly html value inside rowBodyTpl: case of row expander



KVALSANG
11 Dec 2014, 11:21 PM
I am using row expander plugin-in for grid, I have to show differant html text (Depending on conditon) while selecting particular cell.

Like while clicking on cell

if(record === 'Payment'){
want to set some html data in rowBodyTpl
}
else{
want to set differant htmal data inside rowBodyTpl
}

please let me know solution for same?

Gary Schlosberg
15 Dec 2014, 9:32 AM
Here's a couple of threads that might help:
http://stackoverflow.com/questions/15635546/extjs-4-2-0-rowexpander-with-load-data-dynamic
http://www.sencha.com/forum/showthread.php?187002