Question
Fifth Third Bank
IN
Last activity: 1 Sep 2017 11:32 EDT
Datagridview SetCellValue method not working.
Hi,
I've a windows adapter which has datagridview (some columns are editable and some are non-editable).
Now when I'm trying to update the cell value of datagridview, is it setting whatever value I've set for that instance only. After that when I re-launch the same application, the value which I updated is not there.
Studio version: 8.0.1037
Adapter: windows adapter.
Thanks,
Harish.
***Updated by moderator: Lochan to add SR details***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
With latest version of studio and its new functionality to add native methods for a .net control, we resolved it by adding few of the native methods to update the grid after we set the value with setCellValue (int row, int count).
Pegasystems Inc.
US
Hey Harish,
I am going to assume that if you manually input the data it saves in between sessions. What is most likely happening here is that the page is waiting for an event which is not raised when you input the information through the Set Value method. You can try raising this event by setting the value or setting the text in the dataGridView and then triggering a few raise events which could simulate the click more accurately (Mouse over, mouse down, mouse up, key down, key up, etc...). You could also simulate similar functionality via JavaScript if you would prefer.
Fifth Third Bank
IN
Hi Heffc,
This is not in WebPage, this is happening in windows application.
Here are more details:
Application: .Net windows forms application
System: Windows 7
Pegasystems Inc.
US
You will likely needs some hands-on assistance with this as generic suggestions are unlikely to work or be the best (SendKeys, etc...). Please open an SR with support and record the SR number here for tracking purposes.
Fifth Third Bank
IN
Send Keys is working fine in this scenario,
Unfortunately, I can't use this SendKeys. because this is purely Robot and system will be locked. (When system is locked, SendKeys will not work)
Thanks.
Pegasystems Inc.
US
When you open an SR, please reply back here on this thread with the SR ID so that we may connect it with this post to assist the Engineers.
Fifth Third Bank
IN
Here is the SR no: SR-B68865
Accepted Solution
Pegasystems Inc.
US
With latest version of studio and its new functionality to add native methods for a .net control, we resolved it by adding few of the native methods to update the grid after we set the value with setCellValue (int row, int count).