Kendo ui grid if else condition

后端 未结 5 1242
春和景丽
春和景丽 2020-12-15 10:35

What is wrong with my code?

I have to check in kendo UI grid is there \"OrderType 20\" in my column. If it is, I need to apply my css condition which includes back

5条回答
  •  失恋的感觉
    2020-12-15 11:00

    {
      field: "status",
      title: "Status",
      width: "80px",
      template: "#  if (status == '1' ) { # 
    Active
    # } else if (status == '0'){ #
    Deactive
    #} #" }

提交回复
热议问题