jQWidgets Forums
Forum Replies Created
-
Author
-
January 2, 2020 at 6:37 pm in reply to: Ever Present Row and adding rows Ever Present Row and adding rows #107729
I see now that I was missing a parameter on the addrow function.
March 11, 2016 at 4:39 pm in reply to: cellHover fires for every column in row? cellHover fires for every column in row? #82377I’m not trying to be difficult or beat a dead horse here, but if you have
cellhover: function(tableCell, x, y) { var cell = $('#jqxgrid').jqxGrid('getcellatposition', x, y); console.log(tableCell); console.log(cell.column + ' x:' + x + ', y:' + y); }
, this gets called for each cell in the row. The
cell.column
,x
, andy
values are the same for each call (the actual cell that is hovered over), but tableCell is different for each call. How does that make sense?March 11, 2016 at 4:03 pm in reply to: cellHover fires for every column in row? cellHover fires for every column in row? #82375I understand that. I just don’t understand why anyone would ever want that. It sounds like a bug to me. To me, “hover” is a mouse-related concept, not a display concept. Just because the entire row is highlighted (which is a display concept), doesn’t mean that every cell in the row is hovered over. I think a separate rowhover event would make more sense, inside which you could iterate over the columns if you wanted to access them for whatever reason.
March 11, 2016 at 2:47 pm in reply to: cellHover fires for every column in row? cellHover fires for every column in row? #82369Can you describe a scenario in which this would be desired behavior? Why would you ever want the cellhover function to fire for a bunch of cells that were not hovered over?
selectionmode: 'singlecell'
works for my tooltip purpose, but it isn’t ideal because I don’t really want individual cells to be selectable. Frankly, I’m not sure why “selection” and “hover” aren’t two completely separate concepts.March 11, 2016 at 2:02 pm in reply to: cellHover fires for every column in row? cellHover fires for every column in row? #82364Here’s an example of the problem: http://jsfiddle.net/jerrade/cgtdzuya/1/
What I’m trying to accomplish is to display a jqxTooltip for a particular column. It would work if cellhover wasn’t acting so strange. -
AuthorPosts