SmartBear Connect 2018
Join us at SmartBear Connect 2018 on October 29th & 30th in Boston, MA.
Come meet the team behind your tools – get your ticket today!
Reply
Frequent Contributor

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: 897
Kudos: 585
Solutions: 89
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

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