Hello,
I'm wondering what property might make the cursor NOT change to a hand when hovering over a URL in an UltraGrid... the grid is setup as follows: Me.ugPhones.DataSource = New List(Of PhoneRow) ugPhones.Rows.Band.Columns("PhoneNumber").Style = Infragistics.Win.UltraWinGrid.ColumnStyle.URL formattedLinkEditor = DirectCast(Me.ugPhones.Rows.Band.Columns("PhoneNumber").Editor, FormattedLinkEditor) AddHandler formattedLinkEditor.LinkClicked, AddressOf formattedLinkEditor_LinkClickedThis makes it so the text in the column is correctly formatted as a URL and the click event of the URL is handled... and in a small test app the cursor correctly changes to a hand when hovering over the URL, but in another app, it does not. I've so far been unable to find any code differences that might change the grid so that the cursor wouldn't change to the hand.
Any ideas for me to look for?
Thanks!
Hi,
I can only think of two things.
1) The column is disabled. There are a number of ways you could disable it. This KB article has a list: HOWTO:How can I make a grid or a column, row, or cell in the UltraWinGrid disabled or read-only?
2) You are assigning an Appearance to the cell with a Cursor setting. This might be done in code, or perhaps through Application Styling.
I was having the same problem today with a column bound to an integer field (a table's primary key).
Apparently, the cursor will not change to the hand unless the column is a string. I tried setting a date column to the URL style and although it appeared with the underline, the cursor would also not change when I moused over the cell values.
To "fix" my problem, I changed my datatable and SQL query to make the integer column a string and it now works as I expect it. Note - I am using conditional formatting of the background color on that column, but it still didn't work when I removed it, and works when I added it back after changing the column to a string.
Shouldn't the URL hand icon work for any datatype?
Alexi
Hello.
I have created a case for you and have logged this issue with our developers.