If you claim your daughter as a dependent, then you must claim all education expenses and enter her form 1098-T in your tax return, including the tuition that you did not pay.
Your ex-spouse cannot claim any education expenses for your daughter as she is not his dependent.