如何使用日期格式化程序在jqgrid列中添加前缀字符串 [英] How to add prefix string in jqgrid column using date formatter

查看:124
本文介绍了如何使用日期格式化程序在jqgrid列中添加前缀字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Sir,

I am formatting the jqgrid column using  -
formatoptions: { srcformat: 'ISO8601Long', newformat: 'H:i' }, formatter: 'date'

I want to add a prefix string in Stopped at before the time.

Please help...
Thanks in advance...

推荐答案

添加字符串,显示时间或取一些变量,将时间存储在第一个变量中,然后将字符串添加到时间并将其存储在第二个变量中,然后放在显示时间的位置。
Add your string where you display time or take some variables, store time in first variable then add string to time and store that in second variable then put at place where time is display.


这篇关于如何使用日期格式化程序在jqgrid列中添加前缀字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆