Editable desk Yesod

I need to create a table with an editable column. Each line is a separate entry. I want to be able to display hundreds of records, edit them, and then send them back to the server for updating. I'm not sure if this is really supported by the forms framework.

Is there a way to make a repeatable form to get a list of results? This seems to be the closest solution I can imagine without writing my own in javascript. Any ideas on this would be welcome.

+6
source share
1 answer

Do not reinvent the wheel. Just use one of the fully functional js grids like jqgrid or extjs if you want a complete package of user interface components. I use jqgrid with yesod, edit lines both in the grid and in the external panel, and send the changes back.

I think the problem with your approach is that you found your hammer (Yesod form library) and are now looking for a nail. You do not need to use every bit of Yesod just because it is there.

+1
source

Source: https://habr.com/ru/post/913455/


All Articles