Add a simple way to specify a double-click action to an Angular grid
Bug #1813806 reported by
Jane Sandberg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
In the angular browser client, the grid has an onRowActivate Event emitter that fires whenever the user double clicks on a row. This is used to open up the edit menu in the Acq Admin interfaces when the user double clicks on one of those rows.
It would be nice if there was a simple way to specify the action to take on that double-click action (something like this in the .html files: <eg-grid [activateAction
It looks like there's a related to-do in the code here: https:/
Changed in evergreen: | |
assignee: | nobody → Bill Erickson (berick) |
status: | New → Confirmed |
tags: | added: eg-grid |
tags: | removed: webstaffclient |
tags: | added: needsrebase |
To post a comment you must log in.
Here's a patch that moves the handler from a class variable to a method, which can be passed to the grid via markup. No changes to the grid are required.
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1813806- ang-grid- row-activate- example