Forms Data Controls :: Freez Header In A Scrollable Grid?
Aug 10, 2010
I'm also looking for scrollable Grid with freezed header, which is working in IE8. In above solution fixed column width is used. Is it possible to have a such grid where grid width is changing together with page width (when changed)?
View 3 Replies
Similar Messages:
Mar 28, 2012
I tried to have a grid with the fixed header. I implement this using the jquery plug "ScrollableGridPlugin.js" and the following script:
<script type="text/javascript">
$(document).ready(function () {
$('#<%=GridView1.ClientID %>').Scrollable({
ScrollHeight: 500,
});
});
</script>
But the problem is that, when the grid is placed inside the "Update panel" and if some button action fired, the scrollable grid with the fixed header is changed to the normal grid.
View 1 Replies
Mar 7, 2011
I lost the links that someone posted me how to make the gridview to have scroll bars.
I restate my question:I have a gridview to show about 20 records. Now put the gridview into a <DIV>.
Would like to know how do I make it scrollable but keep the header stay in the same position?There is a header for columns in my gridview.
View 5 Replies
Mar 26, 2016
I came across a page that showed a solution for freezing the top (header) row of a gridview and allowed it to be scrollable. Here is the article: [URL] ....
It works and I was able to freeze the top row! However, I have a nested gridview ("gridview2") within that gridview ("gridview1") and I need to freeze it's header row...but I am encountering the following compilation error: "The name 'gridview2' does not exist in the current context"
I have tried many approaches to solve this, including calling the javascript function on the button event in which gridview2 is displayed, however I receive the compile error every time.
Here is the code that is causing the error:
<script type="text/javascript">
function gridlock() {
var GridId = "<%#gridview2.ClientID %>";
View 1 Replies
Jul 17, 2015
[URL]
i just wanted to fixed 2 rows of headertemplate. how can i do that using jQuery?
View 1 Replies
Jan 16, 2014
Scrollable GridView with Fixed Headers inside ASP.Net UpdatePanel using jQuery Plugin. I have one more question in that. How to adjust the width of the columns headers because for some of my gridviews the headers not showing the proper format. in the gridview I gave HorizontalAlign="Left" and in the columns I gave
<asp:BoundField DataField="XXX" HeaderText="XXX" ItemStyle-Width="150px" HeaderStyle-HorizontalAlign="Left" />
It's not showing in the correct fomart. header is coming to the left side and data is coming to the right side...
View 1 Replies
Dec 27, 2012
I have a form with multiple update panels in one form. here i have a gridview with update panel where jqery scrolable with fixed header is not working. i saw your post where IsInUpdatepanel: true
View 1 Replies
Aug 24, 2010
It happened to add an extra Gridveiw Header in row_databound event , It did worked fine on !Postback but disappered on Page.Postback . Quick google search guided me to move the event to Row_Created event and every thing is okay .
Can any expert post some pointers , differnces between grid row_created vs row_databount with some sample table data created dynamically behaviour of both the events in !Postback and page.Postback .
View 2 Replies
Oct 6, 2010
I Have can I have the scrollable table but Fixed Header
[Code]....
View 7 Replies
Feb 7, 2011
I need to add dynamic header column to grid Urgent from database table
how can i achieve this
my gridview should be expandable horizantally
View 14 Replies
May 24, 2010
I know this topic has been asked, but the posts are all out of date, or not functional on IE8. In brief we basically want to do the excel style locking of column headers in a GridView. I have seen a couple of solutions one jquery+ css(setExpression) which doesn't work in IE8. And another that uses ajax extensions, yet again doesn't work in IE8.
I have been through every solution in the below link and have yet to find a working implementation for IE8. [URL]
View 3 Replies
Oct 3, 2010
How Can We Have A SCROLLABLE GridView With Fixed Header???(in vs 2008 - asp.net with c#) Fixed Header is my problem! i test many ways for doing that and see some live demos / but they did not work. can u show me a simple way 4 doing that with an example?
View 2 Replies
Feb 3, 2010
guide how I can sort grid data when header is not shown. Actually In my page I have set visibility of header to false and have placed headings in table above the grid (it was done because requirment was to fix header and make grid with scrollable).how I can give sorting functionality with headings in table above the grid
View 2 Replies
Apr 29, 2010
I tried adding a ddl into my grid header, it was origiinally out side and worked when i put it in the header it no longer worked, i am guesssing i have to do something other than cut past
[Code].....
View 4 Replies
Mar 24, 2011
I am setting everything in a skin --- all the properties work -- expcept that I cannot change font size
View 2 Replies
Oct 5, 2010
I try to add a header checkbox to selecte all in the column, I know that with templeate field you can but the problem is that i don't know the number of columns. How i add a checkbox to the header in every column?
View 3 Replies
Mar 1, 2010
How to show Header Template Alone in the Grid view when data source return NULL values or 0 value. and i want to also display the Header Template alone when the page loaded
View 3 Replies
Jan 31, 2011
how can I access the header of a grid view control?
View 4 Replies
Oct 27, 2010
Grid view header should not grow big on top when less elements are present,if i have more elemnets/rows header appearing as small if i have less rows 2 to 3 rows header growing bigger, i want header should be of fixed size whether it does have less or more records.
View 9 Replies
Nov 25, 2010
I have a button in a header in my grid - I would write a function in the vb.net code behind to fire when the button is clicked?
View 4 Replies
Nov 6, 2010
I have a grid-view placed inside a div and scroll bar is there. I want to set the grid view header fixed and while scrolling only the content will be scrollable. How can do this..
View 2 Replies
Mar 28, 2011
I have added a datagrid where the first column is all checkboxes. I have a title in the header for the column, but right below the title I'd like to have a linkbutton called "[Check All]". I know I could simply but the button above the grid and loop thru the grid, but I was wondering if it was possible to have a link button WITHIN the grid itself in the header section? If so, how can I go about coding this?
View 2 Replies
Oct 19, 2010
I am using devexpress grid view. i have enabled SHOW GROUP PANELData is binded to the gridview using datatable in cs page . But when i drag the coloum to the header to group ...the grid show no data...
View 3 Replies
Nov 3, 2010
I have an html table. I want to set table header as fixed and table body as scrollable.. How can i do this...?
View 1 Replies
Aug 5, 2010
I want scrollable gridview with fixed header. For that i create belw code
[Code]....
It works fine uptil page loads.I have functionality to delete rows from gridview.Once i click delete button from gridview the width of header columns get decreased then the width od data inside gridview.It means depending on the content of data the size gets variable.HOW to show data inside gridview irrespective of the content of data.
View 9 Replies