On Mar 29, 2010, at 6:11 PM, John Patten wrote:

I'm using datagrids to display some data out of a mySQL database. I created a check box and a option button in the template for my data grid row.

I would like to be able to check if data row checkbox hilite is true or not and would like to store data in my db based on the option of my option button.

How do I get the hilite of my individual checkboxes in each row, and along the same lines, how would I get the information selected in my option button from each row of the datagrid?

Does this lesson on storing an option menu value help?

How Can I Store An Option Menu Value When The User Makes a Selection?: <http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7317-How-Can-I-Store-An-Option-Menu-Value-When-The-User-Makes-a-Selection- >

If you update the data associated with a row when the UI element (checkbox or option menu) changes then you can just grab the data from the data grid whenever you need the current value (see GetDataOfIndex/ Line or the dgDataOfIndex/Line in API docs).

http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7344-Data-Grid-API

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.com
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to