Your child should come to the table and socialize even if she isn't hungry. Mealtime is not the time to criticize your children. Studies have shown that children eat less and don't do as well nutritionally when they're being criticized by their parents. Consequences, not criticism, work for improving mealtime behavior. Set reasonable expectations about behavior at the table, then follow through immediately if expectations aren't met.
Mealtime behavior is mostly a matter of attitude.
Bad behaviors include an attitudinal shift and include whining and complaining about the food, begging for foods that aren't on the table or eating in disgusting ways. If your child cannot behave, ask him to leave the table. Work on making mealtime pleasant with conversation and sharing from all family members. Try making a joint agreement with all family members old enough to understand that everyone will make an effort to participate in family meals on a regular basis. It may be at dinner every night, or twice a week or once a week for Sunday dinner if that's the only time everyone can be together.