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

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: 491
Kudos: 293
Solutions: 40
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
Posts: 1
Registered: ‎03-20-2017

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



Let's Meet in Boston
Try QAComplete Now