Welcome Guest Search | Active Topics | Sign In | Register

Grid sort - mouse hover not working consistently on sort columns Options
tb
Posted: Monday, May 19, 2008 1:09:00 PM
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>
eo_support
Posted: Tuesday, May 20, 2008 9:57:22 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
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
eo_support
Posted: Thursday, July 3, 2008 9:56:56 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
Hi,

This issue has been addressed in the newly released EO.Web Controls 2008. Now FixedColumnCount should not affect column header cursor.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.