jquery - How to add prefix string in jqgrid column using date formatter -


मैं - का उपयोग करके jqgrid कॉलम को स्वरूपित कर रहा हूं -
formatoptions: {srcformat: 'ISO8601Long', newformat: H: i '}, formatter:' date '

मैं समय से पहले स्टॉप ऑन में एक उपसर्ग स्ट्रिंग जोड़ना चाहता हूं।

कृपया मदद करें ... अग्रिम धन्यवाद ...

आप उपयोग कर सकते हैं जो मूल दिनांक फ़ॉर्मेटर कॉल और प्रीपेड अनुरोधित स्ट्रिंग से पहले:

  formatoptions: {srcformat: "ISO8601Long", newformat: "H: i"}, formatter: फ़ंक्शन (मान, विकल्प) {वापसी "पर बंद" + $ Fn.fmatter.call (यह, "दिनांक", मान, विकल्प); }  

Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -