jQWidgets Forums
Forum Replies Created
-
Author
-
November 8, 2022 at 8:01 am in reply to: JqxGrid custom Textarea editor is not working JqxGrid custom Textarea editor is not working #123834
Yes Svetoslav , your solution is working for me. i am initializing editor in ‘initeditor’ and removed from ‘Createeditor’ . this is working fine for me. Cant initialize editor in ‘createeditor’ only, i will get same error.
November 7, 2022 at 5:32 pm in reply to: JqxGrid custom Textarea editor is not working JqxGrid custom Textarea editor is not working #123825Hi Svetoslav,
Thanks , It is working fine now. I initialize an editor in ‘Initeditor’ and removed from ‘createeditor’.One more thing i am facing is :
If i have added a long text in my editable column and if i click out side of cell then cell text perfectly wrapped and looking fine. But as you can see in my code i have setautorowheight: true,
, that means it will adjust the height of row on the basis of content in it. So i am getting same way.
Issue is if i am again editing it and the row height is changed to ‘TextArea’ height because we are creating a TextArea on initeditor.
I want to set row’s textArea height same as its row’s. Means in ‘initeditor’ to ‘TextArea’, i want to give autoRowHeight of it’s own Row.Please tell me how can i get current row height which has
autorowheight: true,
and on which event i can get it ?November 4, 2022 at 3:20 pm in reply to: JqxGrid custom Textarea editor is not working JqxGrid custom Textarea editor is not working #123817When 2nd cell is begin to edit , it supposed to come blank. now coming previous TextArea text in it at begin edit
November 4, 2022 at 3:09 pm in reply to: JqxGrid custom Textarea editor is not working JqxGrid custom Textarea editor is not working #123815Thanks Svetoslav for reply.
As you mentioned to initialize the editor every time the editor is opened.
I think as per my code , i am initializing it too every time right.?
andcreateeditor
is creating an editor right.? so for same columncomment
at 1st row , If i am edit it and added a text ‘Svetoslav is a friend of Rahul’ and then i click outside of cell , now i click oncomment
column 2nd row cell , i will get same text.Note: I checked in page source of browser when this issue occurs. i got one point.
When you edit 1st cell then it’s textArea id is customTextArea0 (0 is rowIndex) and if you edit 2nd cell then it’s TextArea id is same customTextArea0 that means , at second time it is not creating a new instance of textArea and using same previous one.Please help me with this. i didnt get how you are initializing a textArea everytime in your fiddle code . because i am also doing same thing right..?
Or where i need make change a line of code please tell me . -
AuthorPosts