Author Topic: first column is blank  (Read 453 times)

SDS

  • Newbie
  • *
  • Posts: 8
  • SDS
    • View Profile
first column is blank
« on: June 09, 2024, 12:40:49 pm »
the first column in the grid is always showing blank, though the header is correct and data in the datamodel is also correct but the data is blank.
attached the colModel and dataModel. Am I missing something?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: first column is blank
« Reply #1 on: June 11, 2024, 01:50:03 pm »
Apparently the code in shared screenshots looks fine. Kindly share a jsfiddle or a whole test case to troubleshoot the issue.

SDS

  • Newbie
  • *
  • Posts: 8
  • SDS
    • View Profile
Re: first column is blank
« Reply #2 on: June 11, 2024, 06:48:17 pm »
I am not able to use jsfiddle. My application is in ASP.NET MVC C#.

I have attached the complete VIEW and Controller code of the source.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: first column is blank
« Reply #3 on: June 12, 2024, 09:55:39 pm »
I noticed that you have added type: 'detail' to all the columns.

Please remove type: 'detail' from the columns which have content to display. It would resolve the issue.
« Last Edit: June 13, 2024, 06:23:59 am by paramvir »