The DataItem could be null due to several reasons. One cause could be if using incorrect data binding technique. Also, the DataItem is available during certain events, such as the ItemDataBound event of the Grid. This will not be available before in the ItemCreated, Load or Init events. That is how the controls is designed.
Could you please share the steps you are trying to achieve and getting the null reference to the DataItem?
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.