jQuery UI Widgets › Forums › ASP .NET MVC › Popover on Grid not working after edit cell
This topic contains 9 replies, has 5 voices, and was last updated by krihre 1 year, 3 months ago.
-
Author
-
I have a grid and PopOver assigned on a column on mouseover. It works fine until the grid cell is edited.
Check the behavior here: http://jsfiddle.net/trL2bu3o
PopOver is assigned to ‘Product’ column. (It works for the first time)
Editable columns – First Name and Last Name. (Do some edit, now popover stops to work)Hello mohamed.mustafa,
What you mean with “PopOver is assigned to ‘Product’ column”?
I did not see any implementation of the jqxPopover there.
Could you clarify it?Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comSorry for the wrong link.
Check this fiddle link – http://jsfiddle.net/MoMu106/trL2bu3o/12/On mouseover on particular column (in my case Product column) I am showing PopOver as shown in the fiddle. It is working until any column is edited. For example edit First Name or Last Name column, now the PopOver is not showing… 🙁
Hello mohamed.mustafa,
You could try on that way.
Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comUpdate:
In this case, it will be good to use the approach used as with jqxTooltip with “cellhover” callback.
Please, take a look at this example.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comHello Hristo,
Thanks for the alternate approach, kind of solved my issue.
But my original question is still hanging out there:-( “Why/How editing a cell removes mouse events assigned to other elements?”Hello mohamed.mustafa,
In your case, you create it after the initialization but the
cellsrenderer
callback was invoked every time when there has a change.
After that, there is no binding to the new elements.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comHi,
I know this is an old thread but I’m little curious about the solution which is provided here. It’s working fine if you move the mouse on the product cell but if you quickly move to either side of cell the jqxpopover is kind of blinking for 1 sec and then going away. I think it’s a glitch or the cell hover is not taking the element or pageX or pageY correctly while moving the cursor quickly to adjacent cells. i’m talking about this example from earlier. If blinking on adjacent cells can be stopped then this would be a perfect answer.
Hi,
You may fix this with a conditional that is checking whether the previous item is the same as the current one:
http://jsfiddle.net/x6omg4fn/I hope this helps!
Best regards,
Svetoslav BorislavovjQWidgets Team
https://www.jqwidgets.com/thanks for publish. Thanks to your topic, I solved my problem too.
-
AuthorPosts
You must be logged in to reply to this topic.