Kendo ui grid if else condition

后端 未结 5 1247
春和景丽
春和景丽 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条回答
  •  猫巷女王i
    2020-12-15 10:59

    It might help you for nested if else for kendo ui grid row template. i.e.

    template: "#if(ErrorDesc==null){# #: DeviceLabel # #}else If(ErrorDesc==""){# #: DeviceLabel # #}else{# #: DeviceText # #}#"
    

提交回复
热议问题