<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Input Masks</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/input-masks</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/input-masks/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Romyn on Input Masks</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/input-masks#p7305</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/input-masks#p7305</guid>
        	        	<description><![CDATA[<p>Thanks&#8230;</p>
<p>&#8230;once I work out what you mean (I&#39;m a js newbie) I&#39;ll give that a go.</p>
<p>(Meanwhile if anyone has an example of this please feel free to post it)</p>
</p>
<p>Thanks again</p>
<p>Romyn</p>
</p>
<p>edit: that was easier than I thought...</p>
<p>using 3.5 and the masked input plugin linked from jQuery&#39;s site at</p>
<p><a href="http://plugins.jquery.com/project/maskedinput" rel="nofollow" target="_blank"><a href="http://plugins.jquery.com/proj" rel="nofollow">http://plugins.jquery.com/proj</a>.....askedinput</a></p>
</p>
<p>when defining the Cols in the Col Model I did</p>
<p>{name:</p>
<p>&#39;stime_duration&#39;,</p>
<p>index:&#39;stime_duration&#39;,</p>
<p>editable:true,</p>
<p>editoptions:{dataInit:function(el){$(el).mask("99:99:99");}}</p>
<p>},</p>
</p>
<p>and it worked first time 🙂</p>
]]></description>
        	        	<pubDate>Wed, 17 Jun 2009 21:34:38 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Input Masks</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/input-masks#p7259</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/input-masks#p7259</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Try with dataInit function to bind mask plugin to this element.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 17 Jun 2009 10:35:59 +0300</pubDate>
        </item>
        <item>
        	<title>Romyn on Input Masks</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/input-masks#p7221</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/input-masks#p7221</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>Sorry if this has been covered before &#8211; I&#39;ve searched but can&#39;t find anything.</p>
<p>I have a field that is in Seconds and I understand that I can use the Formatter to display this in HH:MM:SS format. (Haven&#39;t tried it yet but it seems that would be the way to go).</p>
<p>My question though is for the reverse &#8211; to have a Input Mask for the user when adding/editing the field to force them to enter in __:__:__ and then store that as seconds. Can this be done within jqGrid or would I need to write extra code and/or use a separate Mask plugin.</p>
<p>Any pointers to how to achieve this would be greatly appreciated.</p>
</p>
<p>Thanks</p>
<p>Romyn</p>
<p>(using 3.5)</p>
]]></description>
        	        	<pubDate>Fri, 12 Jun 2009 22:35:02 +0300</pubDate>
        </item>
</channel>
</rss>