This is a migrated thread and some comments may be shown as answers.

[Solved] Client Side Issues

1 Answer 114 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bill O'Neil
Top achievements
Rank 1
Bill O'Neil asked on 07 Apr 2008, 04:49 PM
Having a bit of trouble accessing items client side after transitioning to the Prometheus version of the grid.

Before I could do this:

    function LookupGrid_OnRowOver(row) {
        this.Rows[row].Control.style.backgroundColor = '#CCCCCC';
    }

Now, using Prometheus I change to:

function LookupGrid_OnRowOver(sender, e) {


but I can't seem to access the ROW.  The client side docs indicate that "sender" should be the DataItem - but it appears to be the grid itself.

Any advice?

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 08 Apr 2008, 12:39 PM
Hello Bill,

If you need to apply a color when you hover with the mouse over a given row, you can do this declaratively:

.aspx
<ClientSettings EnableRowHoverStyle="true">              
</ClientSettings> 

I hope this information helps.

Sincerely yours,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Bill O'Neil
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or