Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TODO] Table widget #857

Closed
6 of 10 tasks
daftspunk opened this issue Jan 3, 2015 · 4 comments
Closed
6 of 10 tasks

[TODO] Table widget #857

daftspunk opened this issue Jan 3, 2015 · 4 comments
Assignees

Comments

@daftspunk
Copy link
Member

  • Column definition: readOnly
  • Column type: autocomplete (modules\backend\assets\js\october.autocomplete.js)
  • Column type: number (http://tinyurl.com/lll2bus)
  • Create "DataTable" Form widget
  • Custom buttons in toolbar
  • Fields turn red with invalid data (see "number" column type)
  • Search table data
  • Server side data source
  • Validation options similar to Component Property validation
  • Form widget only submits when handler is called onSave, we need to add a feature to pass the data with every request, i.e. postbackHandlerName option can be null (allow all)
@rvolyar
Copy link

rvolyar commented Jan 5, 2015

It would be useful to be able to add links inside table cells in the table. It is really annoying doing it for large tables of links like this one where you have to write out the twig linking separately. I made the table with normal links and then used a complex regex to search and replace the links but I think there is a better way. Maybe allow for drag and drop from the assets menu on the left and it would auto link with the twig filters or autocomplete the file names when linking it? Anyways these are just some things that could add to the table widget. Loving the framework so far!

@jonpxpx
Copy link

jonpxpx commented Apr 10, 2015

Would be great if we could add options to a data table dropdown without it being an auto relation... Currently trying to sort a table dropdown (author - firstname, lastname) and unable to pass it options within a pivot definition. Unless I am missing something? listAuthors resides within my Pivots model file.

author:
    title: Author
    type: dropdown
    options: listAuthors

@jonpxpx
Copy link

jonpxpx commented Apr 25, 2015

Update on this, it seems that my changes were being reflected on checking the response, however the way the dropdown is built up, it is actually built using a for loop and therefore places the dropdown options in the order of 1,2,3 instead of the results order.

@jonpxpx
Copy link

jonpxpx commented Jan 5, 2016

@daftspunk Model returns the correct order, looks like the JS then orders by the key, what do you think the best approach is for this?

@daftspunk daftspunk mentioned this issue Jan 6, 2016
97 tasks
@daftspunk daftspunk assigned daftspunk and unassigned alekseybobkov Jan 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants