Solved

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

Posted on 2009-07-15
2
950 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
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…

730 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