<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Disable Enter Key &#8211; Sibeesh Passion</title>
	<atom:link href="https://www.sibeeshpassion.com/tag/disable-enter-key/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sibeeshpassion.com</link>
	<description>My passion towards life</description>
	<lastBuildDate>Fri, 17 Jul 2015 12:26:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>/wp-content/uploads/2017/04/Sibeesh_Passion_Logo_Small.png</url>
	<title>Disable Enter Key &#8211; Sibeesh Passion</title>
	<link>https://www.sibeeshpassion.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to disable enter key in JQWidget JQX editable grid</title>
		<link>https://www.sibeeshpassion.com/how-to-disable-enter-key-in-jqwidget-jqx-editable-grid/</link>
					<comments>https://www.sibeeshpassion.com/how-to-disable-enter-key-in-jqwidget-jqx-editable-grid/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Fri, 05 Jun 2015 07:41:42 +0000</pubDate>
				<category><![CDATA[JQWidgets]]></category>
		<category><![CDATA[JQX Grid]]></category>
		<category><![CDATA[Disable Enter Key]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=4531</guid>

					<description><![CDATA[Introduction Hi All, I hope you are fine. In this article you will learn how we can disable enter key in JQWidget JQX editable grid. I hope you will like it. Background Morning I was working in a grid control which editable, and I selected a row to edit and started editing. I found some issues when I just pressed enter key. So for the time being I thought of disabling enter key while editing. So I thought of sharing those informations with you. If you are new to JQWidget JQX Grid, please read here: http://sibeeshpassion.com/category/jqwidgets/ Using the code I [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Introduction</strong></p>
<p>Hi All, I hope you are fine. In this article you will learn how we can disable enter key in JQWidget JQX editable grid. I hope you will like it.</p>
<p><strong>Background</strong></p>
<p>Morning I was working in a grid control which editable, and I selected a row to edit and started editing. I found some issues when I just pressed enter key. So for the time being I thought of disabling enter key while editing. So I thought of sharing those informations with you.</p>
<p>If you are new to JQWidget JQX Grid, please read here: <a href="http://sibeeshpassion.com/category/jqwidgets/">http://sibeeshpassion.com/category/jqwidgets/</a></p>
<p><strong>Using the code</strong></p>
<p>I hope you know the basics of JQWidget JQX grid. So normally we can create a grid as follows.<br />
[js]<br />
 $(&quot;#jqxgrid&quot;).jqxGrid(<br />
            {<br />
                width: &#8216;800px&#8217;,<br />
                source: dataAdapter,<br />
                filterable: true,<br />
                sortable: true,<br />
                pageable: true,<br />
                autorowheight: true,<br />
                altrows: true,<br />
                columnsresize: true,<br />
                columnsreorder: true,<br />
                pagesize: 50,<br />
                pagesizeoptions: [&#8216;5&#8242;, &#8217;10&#8217;, &#8217;15&#8217;, &#8217;20&#8217;, &#8217;30&#8217;, &#8217;40&#8217;, &#8217;50&#8217;],<br />
                filtermode: &#8216;excel&#8217;,<br />
                columns: [<br />
                  { text: &#8216;Supplier Name&#8217;, cellsalign: &#8216;center&#8217;, align: &#8216;left&#8217;, datafield: &#8216;SupplierName&#8217;, width: 110 ,&quot;pinned&quot;:true},<br />
                  { text: &#8216;Name&#8217;,  cellsalign: &#8216;center&#8217;, align: &#8216;center&#8217;, datafield: &#8216;ProductName&#8217;, width: 120 },<br />
                ]<br />
            });<br />
[/js]</p>
<p>To make this enter key disable you need to include the following settings to the grid.</p>
<p>[js]<br />
handlekeyboardnavigation: function (event) {<br />
                        var key = event.charCode ? event.charCode : event.keyCode ? event.keyCode : 0;<br />
                        if (key == 13) {<br />
                            return true;<br />
                        }<br />
                    },<br />
[/js]</p>
<p>cool, so now our grid implementation will look like this.</p>
<p>[js]<br />
 $(&quot;#jqxgrid&quot;).jqxGrid(<br />
            {<br />
                width: &#8216;800px&#8217;,<br />
                source: dataAdapter,<br />
handlekeyboardnavigation: function (event) {<br />
                        var key = event.charCode ? event.charCode : event.keyCode ? event.keyCode : 0;<br />
                        if (key == 13) {<br />
                            return true;<br />
                        }<br />
                    },<br />
                filterable: true,<br />
                sortable: true,<br />
                pageable: true,<br />
                autorowheight: true,<br />
                altrows: true,<br />
                columnsresize: true,<br />
                columnsreorder: true,<br />
                pagesize: 50,<br />
                pagesizeoptions: [&#8216;5&#8242;, &#8217;10&#8217;, &#8217;15&#8217;, &#8217;20&#8217;, &#8217;30&#8217;, &#8217;40&#8217;, &#8217;50&#8217;],<br />
                filtermode: &#8216;excel&#8217;,<br />
                columns: [<br />
                  { text: &#8216;Supplier Name&#8217;, cellsalign: &#8216;center&#8217;, align: &#8216;left&#8217;, datafield: &#8216;SupplierName&#8217;, width: 110 ,&quot;pinned&quot;:true},<br />
                  { text: &#8216;Name&#8217;,  cellsalign: &#8216;center&#8217;, align: &#8216;center&#8217;, datafield: &#8216;ProductName&#8217;, width: 120 },<br />
                ]<br />
            });<br />
[/js]</p>
<p><strong>Conclusion </strong></p>
<p>I hope you enjoyed reading and found this useful. Please share me your valuable feedback. For me it matters a lot.<br />
Kindest Regards<br />
Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/how-to-disable-enter-key-in-jqwidget-jqx-editable-grid/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
