Based on tabulation of 77 percent of ballots, Trump was ahead of Clinton, 49.8 percent to 45.2 percent, according to early results compiled by the Associated Press.