TheCoder4eu / BootsFaces-OSP

BootsFaces - Open Source Project
Apache License 2.0
246 stars 102 forks source link

Context menu and inline cell edit on double click on datatable - is this feature available on 1.1.3 #949

Closed primeO closed 5 years ago

primeO commented 6 years ago

hi , Trying out context menu and inline edit of cell on double click . Is this feature available in bootsfaces 1.1.3 Any suggestions on this how to implement it .

stephanrauh commented 6 years ago

I don't think we've implemented that yet.

You should be able to implement in-cell editing yourself by putting both the value and the input field in a cell, setting selected-items="true" and make use of the onselect callback. We've documented a part of the idea here: https://showcase.bootsfaces.net/forms/DataTable.jsf#inputfields

stephanrauh commented 6 years ago

As for the context menu: to my surprise, you are only the second asking for this feature. It doesn't seem to be as popular as it used to be.

I'd implement it using an (initially hidden) navbar and the approach described here: https://www.sitepoint.com/building-custom-right-click-context-menu-javascript/

primeO commented 6 years ago

Let me give a try stephan. I will let u know

stephanrauh commented 6 years ago

The context menu is a duplicate of #574.

stephanrauh commented 5 years ago

Let's close the ticket. It has been open for more than a year.