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!
Frequent Contributor

Question on DataGrid


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

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?

Shankar R

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

Senior Member

Re: Question on DataGrid

[ Edited ]



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