Reference the image above notice two issues:
1 - There's no vertical scrollbar
2 - The last field is not displayed. (Take a look at the header. The last column should be PODate) There's no way to scroll to the right far enough to see it.
Hi Zack,
How many Columns and how many Rows do you have in that grid? It looks like PODate is the last column and all of its cells are NULLs. Is there more than ten rows?
Hi Alex,
There are 10 columns and 146 rows in the grid. Good catch on the PODate column being all NULL values. I changed the class to set the PODate to the current date when that date is NULL and now the column displays properly.
I'd like to take a look at your sample. If possible can you please post it? Thanks!
Alex,
My sample pulls data from a database. I'll have to put together a sample and send it to you. Would you please send me your email address since I can't attach it here in the forums.
You can mail it to productmanager(at)infragistics.com and mention my name. It will get forwarded to me. Thank you very much!
Zack,
I do believe we took care of your issue. The problem was that the scrollbar was not appearing at all.
Robert,
Your problem appears to be something different. If you are talking about the small area above the vertical scrollbar, there is no cssclass property exposed for it. The best way to get that change is to go right into the style set's css file (for ex. ig_res/Default/ig_dataGrid.css) and change the igg_HeaderScrollbarIntersection class. By the way this area was eliminated in 9.2 version.
It may be a good practice to create a totally new corporate styleset and have it used for all applications. You can learn more about application sty;ing here: http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.2/CLR3.5/html/Web_Application_Styling.html
And yes I tried the below. "Gridhdr" Works for Column headers, but not for the WebDataGrid header itself.
wdgVendorsByMiles.HeaderCaptionCssClass =
"gridhdr";
.gridhdr
{
}
Sorry, no. I don't recall ever getting an acknowledgement from Alex regarding receipt of my sample project. I've since moved on and no longer use Infragistics components.
Did we ever find a way to affect scrollbar styling? I got the column headers to change to our corporate colors, though I had to do it for each column individually as webdatagrid.HeaderCaptionCssClass is ignored, but the top of the scrollbar remains the default blue. I am using the latest version
9.1.20091.2101
="cbxDeleteRecord">
="gridhdr"/>
>
/>
Sample project that uses the northwind database has been forwarded to the productmanager email address. Please let me know when you receive the project and if you have any questions about it.