Solved

How to Change UltraWebGrid Cell Value from a Menu Control on the same page

Posted on 2009-07-15
2
947 Views
Last Modified: 2013-11-15
I have an ultrawebgrid with a "status" column.  I want the user to be able to change the value of the Status cell in the most recently active row by clicking a menu option like "Completed" or "Cancelled."  The problem is that once I click on the menu the UltraGrid is no longer active and I can't figure out how to determine the index value of the most recently active row.  Once I have the index value I hope to do something like Me.UltraGrid1.Rows(index value).Cells(3).Value = "Completed."  I am also aware that I may need to store the activerow value somewhere else and access it from the menu code.

Please help me!!
0
Comment
Question by:ClayRankin
2 Comments
 
LVL 2

Accepted Solution

by:
Moed earned 250 total points
ID: 24929329
Just because the grid is not active doesn't mean there isn't a row active.  By default if the grid has at least 1 row then there is an active row object.  you should be able to use the gridname.activerow object to get to the row.

gridname.activerow.cells(3).value =  value
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question