Welcome Guest Search | Active Topics | Sign In | Register

Grid :Mouse Curson and row mode Options
Allender
Posted: Tuesday, September 13, 2011 7:32:05 PM
Rank: Member
Groups: Member

Joined: 9/13/2011
Posts: 11
Im evaluating EO. How can I change the cursor style to a hand when the mouse is over the grid. Also im using rowmode; I can capture the row item on the client side. Can I capture the contents of say the third column on the client side. I know I can do this in non-row mode.
eo_support
Posted: Tuesday, September 13, 2011 8:13:16 PM
Rank: Administration
Groups: Administration

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

For the hand cursor, you can select Edit Grid either from the smart tag or context menu, then go to Grid -> Item Style Shets -> _Default -> CellStyle _> CssText, add "cursor:hand" there.

You can access value of any cell/row with our client side JavaScript API. It will be something like this:

Code: JavaScript
//Get the Grid object
var grid = eo_GetObject("Grid1");

//Get cell value at row 2, col 3
var cellValue = grid.getItem(1).getCell(2).getValue();


If you have not used our client side API before, you can take a look of this topic:

http://doc.essentialobjects.com/library/1/clientapi_howto.aspx

Hope this helps. Please let us know if you have any more questions.

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.