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.
|
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.aspxOnce 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.aspxOn that object you will find deleteItem method: http://doc.essentialobjects.com/library/1/jsdoc.public.grid.deleteitem.aspxThose should cover most of your questions. Please let us know once you go over that and still have any questions. Thanks!
|
Rank: Newbie Groups: Member
Joined: 5/4/2010 Posts: 5
|
That was what I was looking for... Thank you very much!
|