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.
Nice Mike. Thanks for the update – doug
@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.
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
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.
Pingback: DataGrid Footer, Part Duex | Home