• Categories
  • Recent
  • Tags
  • Popular
Collapse

Como altero o CSS da grid

Scheduled Pinned Locked Moved Maker
7 Posts 3 Posters 1580 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tinhopvh
    wrote on last edited by
    #1

    Quero colocar quebra automática de linha em uma grid, pretendo fazer isso CSS, como que faço?

    1 Reply Last reply
    0
  • easycodarE Offline
    easycodarE Offline
    easycodar
    wrote on last edited by
    #2

    Olá @tinhopvh estarei disponibilizando esse conteúdo essa semana no canal do youtube;

    se puder, se inscreva no canal:
    https://www.youtube.com/channel/UCK3CDwD6U6NoCl02JfMoEFA

    Segue o código css para fazer quebra de texto:

    .grid table tbody tr td div[role="presentation"] {
    white-space: break-spaces !important;
    }

    T 1 Reply Last reply
    0
  • T Offline
    T Offline
    tinhopvh
    replied to easycodar on last edited by
    #3

    @easycodar disse em Como altero o CSS da grid:

    .grid table tbody tr td div[role="presentation"] {
    white-space: break-spaces !important;
    }

    não funcionou, será que fiz algo errado?

    V 2 Replies Last reply
    0
  • V Offline
    V Offline
    vianeimoreira
    replied to tinhopvh on last edited by
    #4

    @tinhopvh Você deve colocar no formulário principal onde o componente grade está... Na Propriedade Classe CSS

    0009c889-4b1a-4677-8925-9595bcdc0d17-image.png

    1 Reply Last reply
    1
  • V Offline
    V Offline
    vianeimoreira
    replied to tinhopvh on last edited by
    #5

    @tinhopvh veja como funciona perfeitamente

    14911039-b306-49c4-868f-2086278e2c0e-image.png

    T 1 Reply Last reply
    0
  • T Offline
    T Offline
    tinhopvh
    replied to vianeimoreira on last edited by
    #6

    @vianeimoreira Muito obrigado, eu estava colocando o código no componente e não no formulário principal

    V 1 Reply Last reply
    0
  • V Offline
    V Offline
    vianeimoreira
    replied to tinhopvh on last edited by
    #7

    @tinhopvh disse em Como altero o CSS da grid:

    @vianeimoreira Muito obrigado, eu estava colocando o código no componente e não no formulário principal

    dnd

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Login

  • Don't have an account? Register

  • Login or register to search.