Home | Mail | Syndicate

welcome to my space

14 March, 2010 |

Grid: Grouping by a column of images

Hi there!

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.#
Your name:
E-mail:
Telphone:

Your comments:


If you have any other info about Grid: Grouping by a column of images , Please add it free.
PNNL, SGI Think Big Danes Launch Europe's First 24-Hour Internet TV Station