Check Out the Latest News About SmartBear Connect
Reply
Frequent Contributor
Posts: 102
Registered: ‎12-14-2012

Question on DataGrid

Hi,

   Is there mechanism where a DataGrid or DataGrid View can be checked whether it is read only? Any suggestions would be helpful

Highlighted
Posts: 549
Kudos: 328
Solutions: 51
Registered: ‎10-21-2016

Re: Question on DataGrid

Not sure TestComplete will have direct way of doing that, Based on the Grid type and their technology we can identify some way to get the status of ReadyOnly.

 

What kind of  DataGrid you are using?


Thanks
Shankar R

“You must expect great things from you, before you can do them”

Senior Member
Posts: 1
Registered: ‎03-20-2017

Re: Question on DataGrid

[ Edited ]

Hi 

 

Not sure if this might help but with data grid views i normally look at the read only property by using script routines or the object property checkpoints:

 

if (panel["dgvTestCodes"]["ReadOnly"] == true)
{
// do something
}  

 

DataGridView.jpg

Let's Meet in Boston
Join the user conference on Sep 12-13
Try QAComplete Now