What way is best to get kids to go from whining to dining at the dinner table?

THE kitchen table has long been a battleground of childhood but can someone please tell me when parents began to think that it was acceptable for children to call the shots?