Base solution for your next web application
Open Closed

ui-grid render column issue #1845


User avatar
0
andmattia created

Hi

I a grid view in some case the render show only a subset off column until a do resize event. Any idea?


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    How do you create grid columns, dynamically ? And which version of ui grid do you use ? I'm not sure but I think there was a similar issue with an older version.

    You can also call refresh of gridApi manually. <a class="postlink" href="http://ui-grid.info/docs/#/api/ui.grid.core.api:PublicApi">http://ui-grid.info/docs/#/api/ui.grid. ... :PublicApi</a>

  • User Avatar
    0
    andmattia created

    I use version ui-grid - v3.2.9

    but is strnage because it's happen in some case not always. I define column in js like other grind in app angular class and add data on init method calling a webapi in success return. so is posssibile the problme i releted to success()( insted of then()?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    I think it's not related to then/success difference. It's deprecated but we haven't faced such a problem until now. We changes success calls to then recently.

    Can you share your ui grid definition ? Maybe we can catch something.