Description
This article is based on an MSDN article.
It is basically an HTC file attached to a DataGrid
that rebuilds it, fixing headers, inserting a scroll for the contents. The only difference between this one and the MSDN article is that I�ve added the possibility to stretch the div containing the contents of the DataGrid
.
You just need to attach a CSS Style to the DataGrid
and define Bodyheight
like in the webfom1.aspx file in the source.
I would like to thank the Web Team from MSDN, Mark Davis, Heidi Housten, Jay Allen and Tosh Meston for producing the start of this article.
Updates
- Fixed on move out of the window problem.
- Added double click event on the resize button to reset to the original position.
- Added tooltip on the resize button to explain functionality.