Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

Update information after searching the database

Guilherme asked on September 3, 2019

There is a search being done on the backend and returning the data correctly, by react and java.

How to update the grid component?

const pivotGusa = useRef<Pivot | null>(null);
gusaPrincipal = (item: PesquisaGusa) => {
          gusaPesquisa(item).then(resp=> {resp&&setSumarioList(resp);}),
     ]).then(() => {
constreportGusaPrincipal= {
     dataSource: {
     slice: {
         rows: [
                 {uniqueName: “data” },
                 {uniqueName: “corrida” },
                 {uniqueName: “aco_Ling” },
                 {uniqueName: “origem” },
                 {uniqueName: “aco” },
                 {uniqueName: “s” },
                 {uniqueName: “c” },
                 {uniqueName: “mn” },
                 {uniqueName: “p” },
                 {uniqueName: “si” },
                 {uniqueName: “ti” },
                 {uniqueName: “cr” },
                 {uniqueName: “ni” },
                 {uniqueName: “cu” },
                 {uniqueName: “turma” },
                 {uniqueName: “turno” }
     options: {
         grid: {
What can it be ?

1 answer

Vera Didenko Flexmonster September 4, 2019

Thank you for your question.
You can use the updateData() API call to update the component.
Please let us know if everything works fine for you.
Best Regards,

Please login or Register to Submit Answer