Forum Discussion
anurag_maharshi
11 years agoNew Contributor
Hi Tanya,
By random i means if i send parameter to click on row 1 , it clicks on any other random row other than 1.
I tried to check this code for different type of grid but all of them do the same thing.
I have resolved this issue by using below code ...( Not using clickcelll method still)
function FillValueInCellInGrid(tcxGridSite1,cellRowNew,cellColumn,cellValue)
{
var dc=tcxGridSite1.GridView.DataController
dc.Controller.SetFocusedRecordIndex(cellRowNew)
dc.Controller.SetFocusedItemIndex(cellColumn)
//Log.Message("Row no passed in function "+cellRowNew)
Delay(500);
if(cellValue==undefined || cellValue==null)
{
}
else
{
tcxGridSite1.Keys(cellValue+"[Tab]");
}
}
By random i means if i send parameter to click on row 1 , it clicks on any other random row other than 1.
I tried to check this code for different type of grid but all of them do the same thing.
I have resolved this issue by using below code ...( Not using clickcelll method still)
function FillValueInCellInGrid(tcxGridSite1,cellRowNew,cellColumn,cellValue)
{
var dc=tcxGridSite1.GridView.DataController
dc.Controller.SetFocusedRecordIndex(cellRowNew)
dc.Controller.SetFocusedItemIndex(cellColumn)
//Log.Message("Row no passed in function "+cellRowNew)
Delay(500);
if(cellValue==undefined || cellValue==null)
{
}
else
{
tcxGridSite1.Keys(cellValue+"[Tab]");
}
}
Related Content
Recent Discussions
- 14 hours ago