I have a grid view, which has a footer . One of the property of this footer is total amount. I need to alert the user when the total amount in the footer is negative amount and there are no items in the grid. i.e. when the items.count == 0 and when the total amount is negative.
how can I right a custom validator to achieve this ? Could someone please provide an example of this ?