Rank: Newbie Groups: Member
Joined: 3/13/2008 Posts: 6
|
On the grid below, the first column header text, when the mouse hovers over it, there is only the 'I' type cursor. On the following header columns that are also sortable, when the mouse hovers over the cursor changes to a hand. Is there a reason why the first column doesn't use the same sort hover style as the other columns? <eo:Grid ID="Grid1" runat="server" ColumnHeaderAscImage="~/images/sortascblack1.gif" ColumnHeaderDescImage="~/images/sortdescblack1.gif" ColumnHeaderDividerImage="00050302" FixedColumnCount="1" Font-Bold="False" Font-Italic="False" Font-Names="Verdana" Font-Overline="False" ClientSideOnItemCommand="OnItemCommand" Font-Size="9pt" Font-Strikeout="False" Font-Underline="False" GridLineColor="199, 209, 223" GridLines="Both" Height="250px" AllowPaging="True" PageSize="10" ItemHeight="19" Width="900px" KeyField="PartID" ScrollBars="None" ColumnHeaderHeight="40" ColumnHeaderDividerOffset="2" PagerSize="4" > <FooterStyle CssText="padding-bottom:4px;padding-left:4px;padding-right:4px;padding-top:4px;BACKGROUND-COLOR:#C5D5FC;color:black;" /> <ItemStyles> <eo:GridItemStyleSet> <ItemStyle CssText="background-color: white" /> <AlternatingItemStyle CssText="background-color:gainsboro;" /> <ItemHoverStyle CssText="background-image: url(00050206); background-repeat: repeat-x" /> <SelectedStyle CssText="background-image: url(00050207); background-repeat: repeat-x" /> <CellStyle CssText="padding-left:8px;padding-top:2px; color:#336699;" /> </eo:GridItemStyleSet> </ItemStyles> <Columns> <eo:ButtonColumn CommandName="PartID" SortOrder="Ascending" AllowSort="true" DataField="PartName" HeaderText="Part Name" Width="300"> </eo:ButtonColumn> <eo:StaticColumn AllowSort="True" DataField="risetime" HeaderText="Responsivity Mil Volt" SortOrder="Ascending" Width="200"> </eo:StaticColumn> <eo:StaticColumn AllowSort="True" DataField="ResponsivityMilVolt" HeaderText="Wave Length" SortOrder="Ascending"> </eo:StaticColumn> </Columns> <ColumnHeaderStyle CssText="PADDING-RIGHT: 10px; PADDING-LEFT: 8px; FONT-WEIGHT: bold; COLOR: white; PADDING-TOP: 2px; BACKGROUND-COLOR: #f22933" /> <ColumnHeaderTextStyle CssText="DISPLAY: block; FLOAT: right; TEXT-ALIGN: center" /> </eo:Grid>
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
This appears to be a bug. The reason that the first column doesn't get hand cursor is because it is a fixed column (FixedColumnCount is 1). This makes sense when determining whether to display a hand cursor for reordering columns (fixed column can not be dragged to reordered), but it does not make sense when the column can also be sorted. So we will try to fix it in our next build. In the mean time, you can set FixedColumnCount to 0 to avoid this problem.
Thanks
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
This issue has been addressed in the newly released EO.Web Controls 2008. Now FixedColumnCount should not affect column header cursor.
Thanks
|