Hi,
I just want to ask in general :
I have DataSource bound to ListGrid and need to remove more than 1 record at a click of button.
I was using DataSource.remove(record) and since I needed to remove more records I put that into a for cycle.
it is interesting that records are removed from database but they are not removed from ListGrid(visually).
Actually the behavior was pretty crazy...
So now I do it by calling my service's method and the call DataSource.fetchData().
Is this usual behavior?
Something like calling second SC.say() right after first one?
Thx for clarification
I just want to ask in general :
I have DataSource bound to ListGrid and need to remove more than 1 record at a click of button.
I was using DataSource.remove(record) and since I needed to remove more records I put that into a for cycle.
it is interesting that records are removed from database but they are not removed from ListGrid(visually).
Actually the behavior was pretty crazy...
So now I do it by calling my service's method and the call DataSource.fetchData().
Is this usual behavior?
Something like calling second SC.say() right after first one?
Thx for clarification
Comment