PDA

View Full Version : [CLOSED] GroupHeaderTplString null values



JCarlosF
Apr 19, 2013, 9:12 PM
I'm grouping records, but also shows me:

6076

Code:



<Features>
<ext:Grouping ID="Grouping2" runat="server" HideGroupedHeader="True" StartCollapsed="false" GroupByText="Agrupar por"
ShowGroupsText="Mostrar en Grupos" GroupHeaderTplString='{name}' >
</ext:Grouping>
</Features>


I want to remove the word null, and put a custom message

thanks!

Baidaly
Apr 20, 2013, 1:50 AM
Hello!

Try the following:


GroupHeaderTplString='{[values.name == "null" ? "Is null" : "Is not null"]}'

JCarlosF
Apr 23, 2013, 3:04 PM
Hello!

Try the following:


GroupHeaderTplString='{[values.name == "null" ? "Is null" : "Is not null"]}'


ok, was useful

thanks!