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

php - Select box validation (in laravel) -

pandas - Iterate on Groupby Object's fields -

java - Joda Time Interval Not returning what I expect -