jQuery UI Widgets › Forums › Grid › JQXNumberInput to accept string on condition
Tagged: angular grid, columntype, grid, GridEditor, javascript grid, jquery grid, numberinput
This topic contains 8 replies, has 2 voices, and was last updated by ivailo 8 years, 6 months ago.
-
Author
-
Hi
I am having a grid, cells are made up of JqxNmberInput control and having a property columntype: ‘numberinput’
For the first row alone, I need to allow the user to enter string. How can this achieve this.
I tried to customize using “createGridEditor” with JqxInput control, though its accepting only integers, not strings.
Can you help me in this.
Thanks & Regards,
RajkumarHi rajnagthi123,
You can try the approach, used in this demo.
This way you can create different editor about each row.Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comHi Ivailo
Thanks for your response,
But the given demo didn’t mention about string format (it mentioned about dropdown and checkbox), Can we use JQXInput for string format?
And also for all the columns we have mentioned with ” columntype: ‘numberinput’” will it allow user to edit string?
Let me know your feedback.
Thanks and Regards,
RajkumarHi Ivailo,
Another update,
When I tried to remove “columntype: ‘numberinput'” property from column definition, even if the cells are rendered with jqxnumberinput control, it accepts alphabets.
So I cant remove columntype property for my columns. In these case, how can I format particular row (or) cell in to string format.
Kindly share your input.
Regards,
RajkumarHi rajnagthi123,
Here is a demo with first row as jqxInput and next as jqxNumberInput.
Withcolumntype: 'custom'
you can use multiple widgets as editors.Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comHi Ivailo,
Thanks for your input
But I could see JQXNumberInput control is accepting ‘ character
Its restricting user to enter all special characters. But its allowing only ‘ character.
Is there is any reason behind this (or) do we need to set any localisation
Regards,
RajkumarHi rajnagthi123,
Thanks for the feedback.
We will consider.Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comHi Ivailo,
When can we expect this issue to be fixed.
Regards,
RajkumarHi rajnagthi123,
About this and another fixes you can check our release history page.
When the issue is fixes you can find a note about it in this page.Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.