jQWidgets Forums
Forum Replies Created
-
Author
-
July 16, 2020 at 6:21 pm in reply to: Not able to copy number to jqxnumberinput Not able to copy number to jqxnumberinput #112434
Hi, Martin, thanks for you help, but I have combined textbox and its validation to implement the similar function, thanks.
July 14, 2020 at 6:15 pm in reply to: Not able to copy number to jqxnumberinput Not able to copy number to jqxnumberinput #112415Hi, Martin, base on your solution,
1. If the cell load an integer, then user can’t add decimal to this integer. Is there another way to handle this problem?
2. About the paste problem, if I copy a number from another grid cell, that’s ok; but if I copy a number from outside of the grid, for example, from the browser dev tool console, the pasting is not working. Only if I use mouse right click then select “paste” in context menu, then it’s working. Could you please check?July 14, 2020 at 1:44 am in reply to: Not able to copy number to jqxnumberinput Not able to copy number to jqxnumberinput #112402Hi, Martin, thanks for you reply.
Could you please check theQuantity
column from this example: stackBlitz. This example can reproduce my problem:
1. Can not paste number to “Quantity” column by “ctrl + v”;
2. Inside Quantity’seditor.jqxNumberInput
, if I don’t setdecimalDigits
property, I can not type decimal in it; but if if I set this property, when I click the grid cell, the number will always show with some zero. For example, if the grid cell value is 777, anddecimalDigits === 5
, when I click the cell, the number will be shown as 777.00000. Is there a way to do like this way: whatever number being loaded, always show the original number after click the grid cell. For example, if 44 is loaded, then only show 44 after click the cell; or if 44.5678 is loaded, then only show 44.5678. And also no digit limit when user edit the number.June 24, 2020 at 5:47 pm in reply to: row.boundindex in createwidget not correct row.boundindex in createwidget not correct #112313Hi Hristo, could you please provide a sample code for that? Thanks.
June 15, 2020 at 10:47 pm in reply to: Numberinput auto generate value 0 Numberinput auto generate value 0 #112237Hi Martin, your solution is work! Thanks, really appreciate!
June 12, 2020 at 7:01 pm in reply to: Numberinput auto generate value 0 Numberinput auto generate value 0 #112218Hi, Martin, BTW, where can I check the whole list of those column config functions such as
createeditor
,initeditor
, andgeteditorvalue
?
Thanks.June 12, 2020 at 6:46 pm in reply to: Numberinput auto generate value 0 Numberinput auto generate value 0 #112217Hi, Martin, thanks for your reply!
In your code, I found a problem, if I type 0 in one cell of the Quantity column, then this 0 can’t save in the cell.I found the root of this problem is,
editor.val()
will auto generate a 0 if that cell is null.
Ingeneratedata.ts
, I setrow['quantity'] = null
. Then, when I click a Numberinput cell, and print the values ofeditor.val()
andcellvalue
fromgeteditorvalue(row: number, cellvalue: any, editor: any)
, the result are 0 and null.So is there a way to stop auto generating 0 by Numberinput component? Thanks.
June 12, 2020 at 4:39 am in reply to: Date string format changed after been clicked in grid Date string format changed after been clicked in grid #112197Hi, I have fixed that issue, thanks.
May 27, 2020 at 9:28 pm in reply to: Date string format changed after been clicked in grid Date string format changed after been clicked in grid #112088Hi, I have one more issue about the datetimeinput inside grid, and this issue happens randomly.
First, sometimes I need to click two times of the calendar or time picker button to open.
Second, if the first situation happens, then the calendar dropdown size will become smaller than normal.This issue not always happen, sometimes when I close the app’s tab, then open again, this issue will not happen.
Do you have any idea to check this issue?
May 27, 2020 at 5:14 pm in reply to: Show calendar and time picker together Show calendar and time picker together #112085Hi,
But that one is another library, not jqxWidget. Is is possible to implement this inside jqxGrid? Thanks.May 8, 2020 at 7:26 pm in reply to: How to dynamically set grid column width How to dynamically set grid column width #111947Hi, I have done this by this way:
if(colNum > 9) { columns.push({...baseCol, editable: true, columntype: 'numberinput', width: 150 }) } else { columns.push({ ...baseCol, editable: true, columntype: 'numberinput' }); }
Not sure if it is a good way to solve the problem.
May 6, 2020 at 5:01 am in reply to: How to create popover dynamically in grid's createwidget How to create popover dynamically in grid's createwidget #111921Hi, Hristo, thanks for your comments, I will try these options.
April 28, 2020 at 6:06 pm in reply to: Angular5 Edit Delete Button not calling Method. Angular5 Edit Delete Button not calling Method. #111847Hi, Martin, I try to use the same code as your example, but got this error after the page rendered, then click the button,
ERROR Error: Invalid Selector! Please, check whether the used ID or CSS Class name is correct.
.
This error is from the render function,let uglyEditButtons = jqwidgets.createInstance('.editButton', 'jqxButton', { theme: 'material', width: 60, height: 24, value: 'Edit' });
Can I know what’s wrong here? ThanksHi, Hristo,
That works![auto-create]='false'
save my life, thanks!April 27, 2020 at 6:12 pm in reply to: Angular5 Edit Delete Button not calling Method. Angular5 Edit Delete Button not calling Method. #111834Thanks Martin, I will try this out.
-
AuthorPosts