When applying Scrollable Gridview the headers does not match with TemplateField

Last Reply on Feb 22, 2013 04:15 AM By Mudassar

Posted on Feb 21, 2013 10:42 PM


    I used the link below


I have nearly 25 columns in my Gridview so when i apply the scrollable grdview the header does not align with template field.

Thanks in advance

Posted on Feb 21, 2013 11:15 PM

This plugin does not work with TemplateFields hence you need to use manual method

scrollable gridview with Fixed Headers in ASP.Net


Posted on Feb 22, 2013 03:56 AM Modified on on Feb 22, 2013 03:57 AM

Thanks for your reply sir

Scrollbar appears in grdview and i can able to scroll but the problem i,m facing is header does not match with its content exactly in alignment

for ex:

S.No | Name | Address| City|

   1        Suddu      Blore     Bangalore

likewise i have nearly 25 columns so this alignment is missing and if i have less columns then i dont get this problem



Posted on Feb 22, 2013 04:15 AM

1. You need to give proper widths to dummy header and with trial and error you will need to adjust it manually by increasing or decreasing widths