Hi, that should not be a sort or dg refresh issue but something at renderer level where the binding is not working as expected. Can you post here (or in a paste.apache.org) the renderer code?
El jue, 17 dic 2020 a las 6:36, ichsan anam (<[email protected]>) escribió: > maybe this work, base on tdj sample code. > > datagrid.dataprovider=null; > datagrid.dataprovider=somearraylist; > > Regards > > On Thu, Dec 17, 2020 at 6:20 AM wkoch <[email protected]> wrote: > >> I managed to work around the sort event. Still haven't figured out the >> "restore" issue. As far as suggesting a patch -- right now I am too deep >> into re-coding tons of stuff to even think. Maybe later next year when I >> can >> breathe a little.... >> >> Now I'm having another issue. I'm manually changing a data element in the >> ArrayListView but I can't get the grid to display the change. I tried an >> arraylistview.refresh but that didn't trigger the Datagrid to refresh. I >> also tried .dispatchEvent(new Event("dataProviderChanged")) and that >> failed. >> I know the element is changing because if I sort the grid the new data >> appears. I'm sure I'm missing something easy.... >> >> I looked in TDJ but the datagrid "columnWidth set to pixels" update first >> row button doesn't work either. >> >> How can I force a datagrid refresh? >> >> >> >> -- >> Sent from: http://apache-royale-users.20374.n8.nabble.com/ >> > -- Carlos Rovira Apache Member & Apache Royale PMC *Apache Software Foundation* http://about.me/carlosrovira
