DALLAS - Tyson Chandler stood near midcourt, dropped his head back and screamed after throwing down a dunk late in overtime that gave the Mavericks the lead against the Knicks.The night undoubtedly had extra meaning for Chandler. He enjoyed his best game of the season against his former team and spoiled the Knicks' hopes of pulling off the upset with Carmelo Anthony sidelined with back spasms.

The Knicks put up a good fight. But Chandler had season-highs of 17 points and 25 rebounds and the Mavericks held off the Knicks 109-102 in overtime Wednesday night at American Airlines Center.

Ex-Maverick Jose Calderon led the Knicks (4-12) with 21 points. He made 7 of 9 three-pointers and grabbed 10 rebounds. J.R. Smith added 15 points. Samuel Dalembert finished with 13 points and 13 rebounds, but missed from inside in the closing seconds of regulation with a chance to give the Knicks the lead.

Dirk Nowitzki scored 24 of his game-high 30 after halftime.

Smith started for Anthony and got off to a dismal start, missing his first seven shots. But Smith forced overtime with a long off-balanced jumper with nine-tenths of a second remaining.

In the overtime, Smith put the Knicks ahead 99-97 with a jump shot with 2:38 left. Nowitzki tied it with a jumper on the Mavericks' next possession.

After a wasted Knicks' trip, Monta Ellis missed inside. Dalembert collected the rebound, but it was knocked out of his hand. Ellis got it and fed Chandler for a big dunk with 1:37 to go to make it 101-99.

The Knicks committed back-to-back turnovers. The second led to a Nowitzki jump shot and a 103-99 Dallas lead with 43.9 seconds remaining. Another Knicks' turnover led to one J.J. Barea free throw with 25.9 seconds left that made it a five-point game. The Knicks were 3-for-9 with six turnovers in the overtime.

The Mavericks were clinging to a one-point lead after a Calderon-to-Amar'e Stoudemire lob dunk made it 94-93 with 43.1 seconds left in regulation.

Following a stop, the Knicks had a chance to take the lead, but Dalembert missed a short floater with about 10 seconds to go. Chandler rebounded the miss, and Devin Harris made 1 of 2 from the line with 7.9 seconds to go to make it 95-93.

But Smith hit an off-balanced step-back jump shot with nine-tenths of a second left to tie. The Mavericks didn't get a shot off at the end of regulation.

The Knicks sent Chandler and Raymond Felton to the Mavericks for Calderon, Dalembert, Shane Larkin, Wayne Ellington and two second-round picks that became Cleanthony Early and Thanasis Antetokounmpo. To this point, the trade has worked out better for Dallas.

Felton, inactive due to an ankle injury, still hasn't played. But Chandler is averaging a double-double. Calderon, the key to the trade for the Knicks, played just his third game after missing the first 13 with a calf injury. Dalembert and Larkin haven't been very productive.

Phil Jackson said he made the trade "to change some of the chemistry." Since Chandler was the main piece leaving the Knicks it was perceived that he was the problem.

Chandler definitely had some extra juice. He was Dallas' best player in the first half. Playing with energy from the outset, he had 10 points and 11 rebounds in the first half. He helped the Mavericks erase a 10-point deficit and take a 46-42 lead at halftime.