Welcome Guest Search | Active Topics | Sign In | Register

How to save data into database using eo grid Options
mayuri
Posted: Monday, December 27, 2010 10:59:00 PM
Rank: Newbie
Groups: Member

Joined: 12/26/2010
Posts: 4
Sir,
thanks for reply to my prev post,
i want an example of how to save multiple rows from the grid to database
also i want an example on how to popup a child window on clicking button column from grid to show , for example , a list of items to choose from
thanks again

mayuri
eo_support
Posted: Tuesday, December 28, 2010 7:59:38 AM
Rank: Administration
Groups: Administration

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

The Grid provides a list of events/properties to notify you when data has been changed. You can then handle those events and write code to save the changes back to your DB either with SQL or Stored Procedure. The Grid holds the data and allow you to edit, but you must write the code to save the changes back to the DB.

You can handle the Grid's ClientSideOnItemCommand event to handle the Button's click event with JavaScript. Once your handler is called, you can do anything you want. See here for an example:

http://demo.essentialobjects.com/Demos/Grid/Features/Button%20Column/Demo.aspx

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.