Closed ryanfox1985 closed 8 years ago
mmm I missed the translations of show, edit, delete.
Adding buttons has never been a goal of WiceGrid. A developer can add such a column in a minute. There is absolutely no point in adding this API, it only leads to unnecessary API boat.
I'm starting with your library. I need so time to understand.
I haven't finished yet. This small develop simplifies my grids xD.
Regards. On Oct 18, 2015 12:05 PM, "Yuri Leikind" notifications@github.com wrote:
Adding buttons has never been a goal of WiceGrid. A developer can add such a column in a minute. There is absolutely no point in adding this API, it only leads to unnecessary API boat.
— Reply to this email directly or view it on GitHub https://github.com/leikind/wice_grid/pull/260#issuecomment-148997585.
not accepting unnecessary API bloat
Hi I created a new variable with the defaults actions new, edit, delete.
also you can configure the grid: <%= grid(@array, {append_actions: [:edit, :delete]}) do |g|.... <%= grid(@array, {append_actions: []}) do |g|....
Regards.