Jul 30, 2012, 7:06 PM
GroupHeaderTplString pushes gridview display over
I'm updating a review page to 2.0 and I've switched from GroupingView to Grouping (breaking change #23) and it works and displays fine, except for the GroupHeaderTplString functionality. My table displays perfectly without it but when I add it in the data in the table gets pushed off the screen with two dark lines representing the groups. Is there a bug with the GroupHeaderTplString?
Here is my code:
<Features>
<ext:Grouping
EnableGroupingMenu="true"
EnableNoGroups="true"
ID="GroupingView1"
runat="server"
HideGroupedHeader="true"
StartCollapsed="false"
GroupHeaderTplString='<span id="{text} ({[values.rs.length]} {[values.rs.length > 1 ? "Submissions" : "Submission"]})'
/>
</Features>
Here's what I see (data is offscreen in this shot but when I remove the GroupHeaderTplString attribute it displays perfectly):
Here is my code:
<Features>
<ext:Grouping
EnableGroupingMenu="true"
EnableNoGroups="true"
ID="GroupingView1"
runat="server"
HideGroupedHeader="true"
StartCollapsed="false"
GroupHeaderTplString='<span id="{text} ({[values.rs.length]} {[values.rs.length > 1 ? "Submissions" : "Submission"]})'
/>
</Features>
Here's what I see (data is offscreen in this shot but when I remove the GroupHeaderTplString attribute it displays perfectly):