Determining if an Ultragrid has pending changes?

Could you look at the RowMod of the dataView it’s bound to?  If it’s A or U, there are changes to be made.

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Joe Rojas
Sent: Wednesday, October 02, 2013 11:16 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Determining if an Ultragrid has pending changes?

 

 

Hello,

I have a customization that uses an Ultragrid that can have its values
modified.

I also have code that when the user clicks the standard save button,
this Ultrgrid will lose focus so that any pending changes are committed.

What I would like to do is be able to know if the grid had pending
changes to begin with when the user clicks the save button.

Right now, when the user clicks the save button, I have code that runs
with the assumption that the Ultragrid did have changes made to it but
in reality, most of the time the save button is click there were no
changes to the grid.

Any ideas on how I can determine if the grid had pending changes?





Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191
jrojas@... | www.matsinc.com Ask us about our clean, green and beautiful matting and flooring

This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.

[Non-text portions of this message have been removed]

Hello,

I have a customization that uses an Ultragrid that can have its values
modified.

I also have code that when the user clicks the standard save button,
this Ultrgrid will lose focus so that any pending changes are committed.

What I would like to do is be able to know if the grid had pending
changes to begin with when the user clicks the save button.

Right now, when the user clicks the save button, I have code that runs
with the assumption that the Ultragrid did have changes made to it but
in reality, most of the time the save button is click there were no
changes to the grid.



Any ideas on how I can determine if the grid had pending changes?








Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191
jrojas@... | www.matsinc.com Ask us about our clean, green and beautiful matting and flooring


This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.


[Non-text portions of this message have been removed]