OP, you are well rid of him.
Please consider doing the www.freedomprogramme.co.uk to help build your boundaries and self esteem.
Your need to behave with dignity and courtesy when being treated appallingly will not serve you well in the long run.
You need to find your anger and self respect to protect you from awful men, who will treat you badly given half a chance.
You need to be super aware of red flags that mark out the arseholes in the population and kick them to touch with no more than two strikes EVER allowed.
Please own the fact that his ignoring you was awful behaviour which you accepted and as a result just got worse.
That was encouragement to him that your boundaries were non existent.
We teach people how to treat us.
What did your tolerating his behaviour teach him?
That he would behave as he did in front of his children marks him out as not just an arsehole, but as highly abusive scum.
His children were being emotionally abused by virture of witnessing such awful behaviour from him.
Learn about boundaries and self respect and you won't be wasting your time again on arseholes.
You deserve to be treated respectfully with kindness.