Summary (Footer) on XamWebGrid?

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

Top 150 Contributor
Points 1,160
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 23,661
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 221

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 14,418
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

40,817 users have contributed to 129,826 threads and 144,159 posts.

In the past week, we've had 5,601 new users, adding to our total of 467,646 registered users!

In the past 24 hours, we have 59 new thread(s), 220 new post(s), and

In the past 3 days, the most popular thread for everyone has been "Google Chrome & UltraWebGrid. Compatible or Not? ". The post with the most views is "In wingrid RowFilter dropdown items for DropDown column is not shwing ". The most replies were made to "Google Chrome & UltraWebGrid. Compatible or Not? ".

Please welcome our newest member jmxbsrl .