jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Only Number Input
Tagged: grid, numberinput, RenderToolbars
This topic contains 5 replies, has 2 voices, and was last updated by ekaperintis 12 years, 5 months ago.
-
AuthorOnly Number Input Posts
-
this is my source code
rendertoolbar: function (toolbar) { var me = this; var container = $("<div style='margin: 5px;'></div>"); var span = $("<span style='float: left; margin-top: 5px; margin-right: 4px;'>Search Nopel: </span>"); var input = $("<input class='jqx-input jqx-widget-content jqx-rc-all' id='searchField' type='text' style='height: 23px; float: left; width: 223px;' />"); toolbar.append(container); container.append(span); container.append(input); if (theme != "") { input.addClass('jqx-widget-content-' + theme); input.addClass('jqx-rc-all-' + theme); }
can you help me,
id=’searchFiedl’ type=’text’
only number input …
thanks you
Hi ekaperintis,
What is the expected behavior from this code and what is the issue on your side?
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHii Peter ….. I’m sorry if my language is less you understand it
I want to just be inputted text fields with numbers
I can just only input text numeric,
can you help me …
Hi ekaperintis,
In case you want to input only numbers, you can use the jqxNumberInput widget. Here’s a sample which demonstrates how to initialize the jqxNumberInput: defaultfunctionality.htm.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter Stoev
Yes, i know but i dont understand implementation with source code this …
rendertoolbar: function (toolbar) { var me = this; var container = $("<div style='margin: 5px;'></div>"); var span = $("<span style='float: left; margin-top: 5px; margin-right: 4px;'>Search Nopel: </span>"); var input = $("<input class='jqx-input jqx-widget-content jqx-rc-all' id='searchField' type='text' style='height: 23px; float: left; width: 223px;' />"); toolbar.append(container); container.append(span); container.append(input); if (theme != "") { input.addClass('jqx-widget-content-' + theme); input.addClass('jqx-rc-all-' + theme); }
Thanks you
-
AuthorPosts
You must be logged in to reply to this topic.