Hi,
I need to apply one validation rule in inline editable grid with respective to each column. Like if we enter any value in first column than it should not be available in that particular column. This rule i am applying in with ->a!gridRowLayout
But when i am applying this it is showing red color from top to bottom to that particular text field.
1. I don't want to highlight whole column , it should highlight only particular cell only.
2. After changing field value validation rule is not refreshing.
Code which i added below.
validation{
if(wherecontains(ri!testData[ri!index].nameCell,ri!testData.nameCell),"Duplicate",null)
}
Do i need to add something else to handle this issue ?
Discussion posts and replies are publicly visible
Hi sauravk , Try using any of the following, 1) if( length( wherecontains(ri!testData[ri!index].nameCell,ri!testData.nameCell) )>1, "Duplicate",null), 2) if( contains( remove(ri!testData.nameCell, fv!index), ri!testData[fv!index].nameCell), "Duplicate",{}) If any of the above worked for you, then its not hard to understand why you were getting errors on all cells in that column.