Throwing mdata undefined error when converting table to datatable
Throwing mdata undefined error when converting table to datatable

Card Number | Account Info | Country Code | Eff Date | Rsn Code | Rsn Description | |
---|---|---|---|---|---|---|
@item.CardNumber | @item.AccountInfo | @item.CountryCode | @item.EffDate | @item.RsnCode | @item.RsnDescription | @(item.CountryCode != null ? "TB Master" : "HandHeld") |
I am using ternary operator and converting table to datatable.When running the application my datatable.js file throwing JavaScript runtime error: Unable to get property 'mData' of undefined or null reference.Please help me with this
This discussion has been closed.