ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Bug: when selection: true + grouping

Open bjaraujo opened this issue 11 years ago • 14 comments

When selection is set to true, the grouping expand/collapse doesn't work properly.

http://plnkr.co/edit/6LlaQrXSnxhADTUOYfvJ?p=preview

If this isn't supported should give warning or something.

bjaraujo avatar Oct 30 '15 11:10 bjaraujo

It works properly in this tutorial. Group on something and you can see it work. Can you compare your gridOptions to this tutorial? http://ui-grid.info/docs/#/tutorial/401_AllFeatures

swalters avatar Nov 02 '15 15:11 swalters

enableRowHeaderSelection: false,

http://plnkr.co/edit/wbVlBP64bxhWRfOQdaJW?p=preview

bjaraujo avatar Nov 02 '15 15:11 bjaraujo

enableFullRowSelection: false helps, but in my case i need full row selection to be enabled. looks like stopPropagation or something, treeButtonClick function not triggering on clicking.

friedbizkvit avatar Nov 05 '15 15:11 friedbizkvit

me too.

bjaraujo avatar Nov 05 '15 15:11 bjaraujo

The event is disabled by the selector

 .ui-grid-cell.ui-grid-disable-selection.ui-grid-row-header-cell{
pointer-events: none;
}

nickxbs avatar Nov 06 '15 16:11 nickxbs

This also happens for selection header.

imbalind avatar Nov 14 '15 08:11 imbalind

Why is this closed?

bjaraujo avatar Nov 18 '15 08:11 bjaraujo

It's not.

PaulL1 avatar Nov 18 '15 08:11 PaulL1

Oh my bad. Sorry. Saw the close tag and thought it was.

bjaraujo avatar Nov 18 '15 09:11 bjaraujo

@bgou: is #4607 (current issue) is also resolved by #4693 fix ? If yes any idea when this will be released ?

sreekumarp avatar Nov 23 '15 07:11 sreekumarp

@sreekumarp I don't think this issue (#4607) is resolved yet. My reported issue (#4693) was closed as a duplicate to this one.

bgou avatar Nov 23 '15 18:11 bgou

I have the same problem: http://plnkr.co/edit/TLilMmj3yWnyOaDStVU9?p=preview When i use suggested solution with enableRowHeaderSelection: false then i can open the groups, but doesn't have the ability to select a row on click.

florian-kittel avatar Nov 24 '15 12:11 florian-kittel

Proposed a fix: https://github.com/angular-ui/ui-grid/pull/4760

benjamin-wilson avatar Nov 24 '15 13:11 benjamin-wilson

Merged with commit f715767

imbalind avatar Nov 25 '15 07:11 imbalind