Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
545
WHDG: custom summary formats
posted

Hi,

in my WHDG i have several columns and several summary types (standard and custom summaries). I have some questions about this:

1. I need to have summary type name in the first column (eg: "sum=") and only summary value in the other columns (eg:"23,21"). It is possible with a workaround?

2. I have several summaries. There is a collapse/expand effect for the summaries as like as for child rows? 

3. It is possible make summaries scrollable with the grid instead of fixed at the bottom?

Thanks

Parents
No Data
Reply
  • 8736
    posted

    Hello,

    You can set FormatString on the column in order to show either summary type or summary value.
     
    <ig:SummaryRow>
    <ColumnSettings>
    <ig:SummaryRowSetting ColumnKey="ID">
    <SummarySettings>
    <ig:SummarySetting FormatString="{0} " />
    </SummarySettings>
    </ig:SummaryRowSetting>
    </ColumnSettings>
    </ig:SummaryRow>

    Refer to the link below that will give you more details on this:

    <http://help.infragistics.com/NetAdvantage/ASPNET/2012.1/CLR4.0/?page=Infragistics4.Web.v12.1~Infragistics.Web.UI.GridControls.SummarySetting~FormatString.html>

    I have several summaries. There is a collapse/expand effect for the summaries as like as for child rows?

    In order to look in to this let me know how you want to group by summary to get expansion indicator.

    Summaries are shown in the bottom of the cell. I am not certain even if you scroll summaries it will be empty space. In order to implement this functionality you can wrap grid in a div and use div scrollbar.

    I hope this helps.

     

Children