No simple answer here that I know of. I implemented something similar by not using a header template in the gridview ... and implement the "body" gridview in a scrollable panel. I then manually implemented the header outside of the panel. The downside is that you then have to manually implement sorting and column header click behaviours (which I did by using hover panels). I called it quits (so far) when trying to implement column width resizing (which GridView doesn't support as far as I know ... but 3rd party grid controls do).
Sorry ... no code to post because everything was driven from a backend data base and all layout was being dynamically done via custom ITemplate code (i.e. no declarative markup).
Worst case ... you basically end up re-implementing much of the automatic behaviour of the GridView when used against invariant schemas ... which is a very slippery slope.
No comments:
Post a Comment