Welcome Guest Search | Active Topics | Sign In | Register

Grid Javascript Options
Gaturro
Posted: Wednesday, May 5, 2010 11:43:14 AM
Rank: Newbie
Groups: Member

Joined: 5/4/2010
Posts: 5
Hi, regarding on the Grid component, I'd like to do some javascript operations, for example:

1) Making the grid enabled or disabled, or visible or not visible,
2) Delete a row (without the delete button, there are some other controls in the page that can make me delete a row),
3) Getting the values of a cell (in my case for adding all values of a column, just to compare with a textbox),
4) Surelly some others will come up....

Is there a way of doing it? I assume that there is because in the "Why EO.Web Grid is special?" I found "Other advanced features. Many other advanced features, such as completely client side JavaScript interface, fixed column, are also supported;", but I couldn't find any docs.

eo_support
Posted: Wednesday, May 5, 2010 12:08:39 PM
Rank: Administration
Groups: Administration

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

You will want to go over this topic to get a basic idea of how our client side JavaScript API works:

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

Once you understand how to use it, the rest would be calling what method on what object. You can find a complete list of objects under the "JavaScript Objects" section, you would then check the object to see what method are available. For example, there is a Grid object:

http://doc.essentialobjects.com/library/1/jsdoc.public.grid.aspx

On that object you will find deleteItem method:

http://doc.essentialobjects.com/library/1/jsdoc.public.grid.deleteitem.aspx

Those should cover most of your questions. Please let us know once you go over that and still have any questions.

Thanks!
Gaturro
Posted: Wednesday, May 5, 2010 12:10:08 PM
Rank: Newbie
Groups: Member

Joined: 5/4/2010
Posts: 5
That was what I was looking for... Thank you very much!


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.