Hi,
We have a grid which is containing 2 non editable columns.
this.nonAuthPartnerGrid = isc.ListGrid.create({
ID: "nonAuthPartnerGridID",width:"60%", height:"200", alternateRecordStyles:true,canHover:true,
fields:[{name:"partner", title:"Partner",width:"40%"},
{name:"precedenceVal",title:"Precedence",width:"40%",type:"number",titleOrientation:"left"}],
canEdit:false , sortFieldNum: 1, canReorderFields: false, fixedRecordHeights: false,wrapCells:true
});
Screen is containing 2 text box and this grid and ADD button.
User can add Data to grid by giving input in textbox and click on ADD button at runtime.
I need to stop duplicate records in grid.
How I can achieve with the help of SC or custom validator?
Please provide me a sample code.
Thanks,
Vikram