jquery - add css to a cell through client template in a kendo grid -


मेरे cols belwo के रूप में defind हैं

  x.Bound (y = & gt; y IsStudentIn) .hidden (सही); X.बाउंड (y = & gt; y.Student)। क्लिंटटामप्लेट ("# अगर (इस्स्ट्यूडेंट इन == गलत) {# & lt; span style = \" background-color: red; \ "& gt; & lt; / span & gt; #} # ");   

यदि IsStudentIn = false है, तो मैं चाहता हूं कि छात्र सेल लाल रंग को चालू करे। उपरोक्त तरीके से कोशिश की, यह काम नहीं कर रहा है इस विशिष्ट टीडी के सीएसएस को कैसे जोड़ें

यहाँ जवाब है, मैंने उत्तर पाने के लिए टेलीरीक से संपर्क किया < / P>

  x.bound (y = & gt; y.IsStudentIn)। हइडेन (सच); # (विद्यार्थी = y) और। (क्लाइंटटैम्प्लेट)। Div & gt; "+" #} और {# "+" #: विद्यार्थी # "+" #} # ");;    

Comments

Popular posts from this blog

Delphi: missing interface declarations for UI Automation methods -

php - how to change mysql_result($res, 0, "url"); to mysqli -

android - How to attach an image from an app to gmail -