Code Monkey home page Code Monkey logo

Comments (8)

 avatar commented on July 18, 2024

I'm not sure what you mean by "put cols before rows", you mean in yml file? What are you trying to do?
About spans..
Here's the doc https://tipboard.readthedocs.io/en/latest/configuration.html#customising-tile-layout
including link https://github.com/allegro/tipboard/blob/develop/tipboard/static/css/layout.css#L68 describing CSS behind that.
If you give more concrate example then the answer will be more concrate ;)

from tipboard.

akiskin avatar akiskin commented on July 18, 2024

Wow, thanks for fastest possible reaction.

Looking at https://tipboard.readthedocs.io/en/latest/configuration.html#sample-layout I want to switch cols with rows: to have in result col_1_of_2 -> rows(1-2-3), col_2_of_2 -> rows(1-2)

from tipboard.

 avatar commented on July 18, 2024

Unfortunately it's not possible right now because the order is fixed here:
https://github.com/allegro/tipboard/blob/develop/tipboard/templates/layout.html#L22

from tipboard.

akiskin avatar akiskin commented on July 18, 2024

Ok, got it.

Can you give an example of colspan/rowspan then?
Like in http://allegro.tech/tipboard/img/example-dashboards/Dashboard2.png "Work time"?

from tipboard.

 avatar commented on July 18, 2024

Try this:

layout:
    row_1_of_2:
        col_1_of_4:
        col_1_of_4:
        col_1_of_4:
        col_1_of_4:
    row_1_of_2:
        col_1_of_4:
        col_1_of_4:
        col_2_of_4:

from tipboard.

akiskin avatar akiskin commented on July 18, 2024

Yes, thats how it works for the picture mentioned above; unfortunately haven't seen it in the docs. Many thanks.

According to what you mentioned in the source, there is no possibility to make ROWSPAN now?

from tipboard.

 avatar commented on July 18, 2024

AFAIK there is no possibility to make ROWSPAN now.

from tipboard.

akiskin avatar akiskin commented on July 18, 2024

Thanks, xliiv

from tipboard.

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.