There is no fúcking excuse for this behaviour in a public dining environment.
Children are over-indulged and over-stimulated these days. My daughter was taught how to behave in a restaurant from a very early age. Such behaviour was simply not tolerated.