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 <warren.r.k...@boeing.com> 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/
>

Reply via email to