Summary (Footer) on XamWebGrid?

rated by 0 users
Not Answered This post has 0 verified answers | 3 Replies | 3 Followers

Top 200 Contributor
Points 765
Alan Jackson posted on 06-24-2009 1:40 PM

I've been looking, but have not found, an example of how to construct a footer row on a XamWebGrid?  Do I need to provide a datatemplate in code or through markup?  I can't seem to guess the correct markup.  Intellisense would be helpful.

All I have at this point is:

  372                 <igGrid:XamWebGrid.FooterTemplate>

  373 

  374 

  375                     <DataTemplate>

  376 

  377                         <!--<igGrid:TextColumn Key="AdjustedBalance">

  378 

  379                         </igGrid:TextColumn>-->

  380 

  381                     </DataTemplate>

  382 

  383                 </igGrid:XamWebGrid.FooterTemplate>

Alan Jackson, Weston Solutions, Inc.

  • | Post Points: 20
All Replies
Top 25 Contributor
Points 33,076
Infragistics Employee

Each column type has a HeaderTemplate and FooterTemplate property:

<igGrid:XamWebGrid x:Name="dataGrid" AutoGenerateColumns="False"  >
    <igGrid:XamWebGrid.Columns>


        <igGrid:TextColumn Key="Foo">
            <igGrid:TextColumn.HeaderTemplate>
                <DataTemplate>
                    <TextBlock Text="Foo Header Text" />
                </DataTemplate>
            </igGrid:TextColumn.HeaderTemplate>
            <igGrid:TextColumn.FooterTemplate>
                <DataTemplate>
                    <!-- INSERT FOTER FOR THIS COLUMN HERE -->
                </DataTemplate>
            </igGrid:TextColumn.FooterTemplate>
        </igGrid:TextColumn>

Hope that helps.

Devin

Product Manager :: Web Client

blog :: twitter

  • | Post Points: 20
Not Ranked
Points 125

How can this be done dynamically though code?  The FooterTemplate property appears in the help documentation (column class members) but doesn't actually appear to be available!!

Myles

 

  • | Post Points: 20
Top 25 Contributor
Points 10,689
Infragistics Employee

Hi Myles, 

The FooterTemplate property definitely still exists on every Column. 

-SteveZ

 

  • | Post Points: 5
Page 1 of 1 (4 items) | RSS

Forum Statistics

29,471 users have contributed to 108,633 threads and 120,746 posts.

In the past week, we've had 1,093 new users, adding to our total of 447,027 registered users!

In the past 24 hours, we have 50 new thread(s), 184 new post(s), and

In the past 3 days, the most popular thread for everyone has been "Ultrawebgrid Drag and Drop". The post with the most views is "Using WebDataGrid with AjaxScriptManager". The most replies were made to "XamChart and Prism".

Please welcome our newest member kchitw.