anurag_maharshi
11 years agoNew Contributor
ClickCell method in tcxgrid site is not working properly
Hi,
Clickcell method of tcxgrid is clicking randomly in any row. But it clicks in correct column.
My requirement is that i need to click in a cell in the grid and put some values in that.
As it clicks randomly it fills value in any row.
Please let me know how to resolve this issue.
Below is the code that i used.
function FillValueInCellInGrid(cellRowNew,cellColumn,cellValue)
{
Log.Message("Row no passed in function "+cellRowNew)
if(cellValue==undefined || cellValue==null)
{
}
else
{
tcxGrid1.ClickCell(cellRowNew, cellColumn);
Delay(500)
tcxGridSite1.Keys(cellValue+"[Enter]");
tcxGrid1.Keys(cellValue+"[Enter]");
}
}
Thanks,
Anurag
Clickcell method of tcxgrid is clicking randomly in any row. But it clicks in correct column.
My requirement is that i need to click in a cell in the grid and put some values in that.
As it clicks randomly it fills value in any row.
Please let me know how to resolve this issue.
Below is the code that i used.
function FillValueInCellInGrid(cellRowNew,cellColumn,cellValue)
{
Log.Message("Row no passed in function "+cellRowNew)
if(cellValue==undefined || cellValue==null)
{
}
else
{
tcxGrid1.ClickCell(cellRowNew, cellColumn);
Delay(500)
tcxGridSite1.Keys(cellValue+"[Enter]");
tcxGrid1.Keys(cellValue+"[Enter]");
}
}
Thanks,
Anurag