welcome to my space
- watch my youtube inv
- people tell me i loo
- which jonas brother
- how do i no if this
- need accouting help
- what episodes of dea
- would like to know m
- girls what do you th
- guys please ans i l
- anyone know any good
- do you think someone
- what is rent deposit
- what is the hourly p
- what do you think ab
-
Archives
-
Categories
-
Search
-
Meta
-
Credits
14 March, 2010 |
Grid: Grouping by a column of images
For a status display in my grid I use a custom renderer:
renderer: function renderAdded(value, p, r){
string = "";
if ((value == 1) && (r.data.pstatus < 3))
string = '';
else if ((value == 1) && (r.data.pstatus == 3))
string = '';
else if (value == 2)
string = '';
else if (value == 3)
string = '';
else if (value == 4)
string = '';
return string;
}
When I Group now by status, the grouping gets done - but the display done with
groupTextTpl: '{text} ({[values.rs.length]} {[values.rs.length > 1 ? "Items" : "Item"]})'
is messed up - it seems the " in the image tag are messing up the grouping display Algorith / the divs that are rendered.
Anyone knows a solution or has encountered a similar Problem?
Thanks a lot for your help!
Mark
#If you have any other info about this subject , Please add it free.# |