DataGrid Footer

I was enjoying the enhancements made to the DataGrid control I found on Doug Marttila's site, who in turn was working from an original update made by Alex Harui. However, I found that the footer did not work correctly when you make columns visible/invisible, especially horizontal scrolling. There was also a problem of vertical scrolling and the regular row data partially showing up in the footer area. So the changes I made were to address those issues. Included are the ability to dynamically turn the footer on or off (make visible or invisible) and to change the background color of the footer on the fly. If anyone comes up with a way to change the footer's font color, I'd like to know how. Here is a link to the demo. You can right-click and get the source.

This entry was posted in Adobe Flex. Bookmark the permalink.

5 Responses to DataGrid Footer

  1. Nice Mike. Thanks for the update – doug

  2. admin says:

    @Doug Marttila
    Thanks for posting your work. The painting of the footer still has some issues (such as partially covering up the horizontal scrollbar & not initially sizing properly in the locked columns). I’ll update the code if I find some better solutions.

  3. Prashant Mehta says:

    Hi Mike,
    The code is working fine of footer, but it goes into infinite loop in updateDisplayList and
    hangs up the system, do u have any solution for this, please let me know if any

  4. admin says:

    Hi Prashant,

    I never had that problem before. Have you tried stepping through updateDisplayList with the debugger? I assume that you are running into this problem when you try the code in your own application. If you could send me or post some sample code that fails for you I will take a look.

  5. Pingback: DataGrid Footer, Part Duex | Home

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <font color="" face="" size=""> <span style="">