3 Replies Latest reply on Jan 19, 2018 9:29 AM by gpaillot RSS
    gpaillot Apprentice

    How to refresh my autoselectfirstrow on grid ?

    Hi all,


    I made a mashup with :

    a googlemap where the last position of my object is diplayed

    a grid with the content of my stream (historical of positions).

    an autorefresh widget


    At the mashup load, the first row of my grid is autoselect, and the GPS position of my row is binded with my GoogleMap.


    The issue is : when the position of my object is modified, the content of my grid is updated, a new line is inserted above, but my 'autoselectfirstrow' doesn't refresh. It is always the 2Nd line which is selected, so the GoogleMap is not refreshed too.


    Do you know how can I auto-refresh my grid to always select the first row, even if a row is added above ?