Forum Discussion

DanH's avatar
DanH
Contributor
8 years ago
Solved

Problem getting ClickCell to work on control built on Ultragrid

Hello,

 

I'm having a problem getting ClickCell to work on an Ultragrid.  I've created a really simply function:

 

function TryToClickIt()
{
 
  MyGrid = Aliases.Launchpad.frmOptions.CommonPanel1.UltraPanelClientAreaUnsafe.Panel1.grpBoxDetails.grbxOptFeatures.grdOptFeatures;
  MyGrid.ClickCell(1, "Description");

}

 

I was hoping this would click the cell, but I get an error:

 

Unable to find the object ClickCell(1, "Description"). See Additional Information for details.    10:01:25    Normal    

 

 I have tried using ClickCell on other grids in our application and I just can't get beyond this error.  I can do lots of other things like selecting rows, and I can locate the correct cell, I just can't click it.  We have a grid which inherits from Infragistics.Win.UltraWinGrid.UltraGrid.  It does override a few layout methods but nothing else.  Is there something really basic I am doing wrong?

 

Dan