I'm inviting you to a new Community challenge which we are starting next Monday (April 2)! Earn badges to get more points. Read more information
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: 862
Kudos: 551
Solutions: 85
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