Author Topic: can dataModel be empty?  (Read 3769 times)

kavyasetty

  • Newbie
  • *
  • Posts: 25
    • View Profile
can dataModel be empty?
« on: December 09, 2013, 04:51:41 pm »
HI,


Can the data model be empty? if so how to do that . I am passing data to datamodel dynamically . sometimes it is empty.In such cases the grid is not showing correctly. it doesnt show all columns.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6265
    • View Profile
Re: can dataModel be empty?
« Reply #1 on: December 09, 2013, 07:35:51 pm »
yes, data can be empty.

Example:

http://jsfiddle.net/LAgZx/193/