Categories | Question details Back To List | ||
groupBy link bug? I've implemented the following: mygrid.customGroupFormat=function(text,count){return text.split("^")[0];} The group headings all work correctly except for the link heading. The link group name shows up completely empty. I tried putting an alert inside the function to see what "text" evaluated to and it evaluates to "^null" on link columns. mygrid.customGroupFormat=function(text,count){return text;} // alerts "^null" on link columns In the grid the, the link displays and links correctly. It's just the group name is blank when grouped by a link column. Any ideas what I might be doing wrong? James Answer posted by Support on Dec 16, 2008 01:36 The code which you are using is correct and must not cause any issues Answer posted by JOR on Dec 16, 2008 06:53 Thanks the sample file helped. It turns out my problem was because I was using an <a href></a> in one column that was set to link, even though the column I was trying to group by was correctly formatted. I thought I had changed all of the link columns to use the ^ format but I missed one. |