In List applet,as per vanilla it is not possible to delete the selected records at a time.To achieve this add the below code in applet level then it will allow to delete the selected records.
var oBusComp = this.BusComp();
with(oBusComp)
{
var iRecord = FirstSelected();
while (iRecord)
{
this.InvokeMethod("DeleteRecord");
iRecord = NextSelected();
}
}
var oBusComp = this.BusComp();
with(oBusComp)
{
var iRecord = FirstSelected();
while (iRecord)
{
this.InvokeMethod("DeleteRecord");
iRecord = NextSelected();
}
}
1 comments:
may I know which event i should write this code
Post a Comment