Git Product home page Git Product logo

Comments (6)

zinkh avatar zinkh commented on June 10, 2024

This can be grouped with #306 it is the same issue, aybe this can be done with the link feature @glutamate is working on.

from saltcorn.

AleksandrSokolov avatar AleksandrSokolov commented on June 10, 2024

@zinkh I agreed with you.

from saltcorn.

glutamate avatar glutamate commented on June 10, 2024

@AleksandrSokolov @zinkh with recent comments you now have a couple of options:

  1. the view link option as a column in the list view is now bit more flexible and you can tick the box to interpret the view label as a formula which means that you can use JavaScript expressions to calculate the label.

  2. (this was there previously) if you try to leave the view link label blank, in some cases (if it is a link through a foreign key in the current table) it can use the summary field from the linked table as the label from the view. Just try to leave it blank and see if it does what you want

  3. you now have an option to have plain links as a list column. (I think it's titled "Link to anywhere"). Here you give the text and URL and can choose that both of these can be interpreted as formulas, ie JavaScript expressions. In fact it only really make sense if at least one of them is a formula, otherwise you will get the same link in every row

from saltcorn.

AleksandrSokolov avatar AleksandrSokolov commented on June 10, 2024

@glutamate great news. We really need to organize documenting process. You done a lot of thinks but documentation is poor for now.

from saltcorn.

zinkh avatar zinkh commented on June 10, 2024

That's really great, thanks for this update. It's so much better now, I just made a simple formula in a contact view, the formula is 'edit' + ' ' + name_in_table and it shows something like : Edit Mike. This is so Powerful, now I have to think about a couple of formulas and some usage cases.

from saltcorn.

glutamate avatar glutamate commented on June 10, 2024

@AleksandrSokolov agree on docs. really we need 1 wiki page per view template and also more docs for individual plugins

from saltcorn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.