Hi @sh su ,
I tested your codes and the error is DataRowView data is null. And you shouldn't use Eval in the headertemplate. I have write the methods in your another thread.You could refer to that thread.
Best regards,
Yijing Sun
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.