BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Hi Pavlo,
Thank you for contacting Syncfusion support,
For Query DoubleClick:
We have exposed SetCellData method to set the Cellvalue in GridDataControl, so when you entered into edit mode SetCellData method will call by default. If you requirement “Double Click” purpose is different from this, could you please share your purpose for calling DoubleClick method? So that we can analyze further on this query and provide you the better solution.
For Query ExposedMethods and RaiseEvent method
We have checked with our side, we are able to use our methods for GridDataControl, which are provided for UFT. You can use RowCount, ColumnCount property to get the Number of Rows and Columns in GridDataControl. You can use SetCurrentCell method to move CurrrentCell by passing RowIndex and ColumnIndex. We have provided the UFT supports for GridDataControl only exposed methods , so we request you to use exposed methods for GridDataControl instead of deal with native methods and properties.
Code snippet:
WpfWindow("App").SfGridDataControl("Grid").SetCurrrentCell 10,1 WpfWindow("App").SfGridDataControl("Grid").RowCount WpfWindow("App").SfGridDataControl("Grid").ColumnCount WpfWindow("App").SfGridDataControl("Grid").SetCellData 12,13,”ALFKI” |
Please let us know if you have any other queries,
Regards,
Saravanan.M
Thank you for ansver Saravanan,
no, I do not need to edit cells. In my case double clicking cell will open new report with grid which data wil be based on data in selected cell.
Hi Pavlo,
We have analyzed your query and our GridDataControl enters into the edit mode when you double click the cell, so we have provided support to set the value using SetCellData method by passing RowIndex , ColumnIndex and value as parameter. In your scenario you would like to open the new window when you double click the cell but we didn’t provide method to open any new object like not exposing any event to handle. As we mentioned in our last update , could you please use the exposed methods for GridDataControl in QTP environment.
Please let us know if you have any other queries,
Thanks,
Elavarasan M