PDA

View Full Version : [CLOSED] GridPanel - The <features> block don't work



lu7jm
Jul 30, 2020, 4:49 AM
Could you tell me if the <features> block available in the Gridpanel?

I need enable the feature Grouping for each column in the grid.


<ext-gridpanel>

<features>
<ext-Grouping/>
<ext-RowBody/>
</features>

</gridpanel>

Could you show an example ?

Is there an alternative solution?

Thanks.

fabricio.murta
Jul 31, 2020, 11:27 PM
Hello @lu7jm!

Maybe I don't understand your question but, grid panel features can only be triggered as a whole in such components, not per-column.

We have recenlty dealt with an issue with the grid panel's Features block in GitHub issue #1781 (https://github.com/extnet/Ext.NET/issues/1781) and it should be usable now.

Are you just not sure where to begin with? I believe this Ext.NET 5 example should give you the right directions into using the feature. If something really looks to block you from making it work, let us know and we'll take a look at it.

- Grid Panel > Miscellaneous > Grouping (https://examples4.ext.net/#/GridPanel/Miscellaneous/Grouping/)~

Hope this helps!

lu7jm
Jul 31, 2020, 11:51 PM
We have downloaded the Ext.Net.7 Preview 4 version but it doesn't work, could you give me an example for this version?

lu7jm
Jul 31, 2020, 11:57 PM
My example for this version is:




<Features>
<ext-Grouping
HideGroupedHeader="true"
StartCollapsed="true"
GroupHeaderTplString='{IntClass}: {name} ({rows.length} Item{[values.rows.length > 1 ? "s" : ""]})'
/>
</Features>



But not work.

lu7jm
Aug 01, 2020, 7:20 PM
The problem had solve. Thanks Fabricio.