We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Column Format not working after reseting column and data

Dear Sir/Mam

We are using your grid control. We are having trouble with column formatting in this.

First of all we fill the columns and data in the grid. First time formatting works well.

We fetch the data and columns for the grid every time from the API.

If any record comes in the data then the formatting works well.

But once the data is empty and the next time there is a record in the data, the formatting doesn't work.

We have also been used below method. With this the method is working but the formatting seems to be happening.

setTimeout(() => {

      this.gridObj.refreshColumns();

    }, 100);


We need silent formatting. The user should not see the formatting happening.


Thanks




1 Reply

RR Rajapandi Ravi Syncfusion Team October 31, 2022 09:29 AM

Hi Nagendra,


Greetings from Syncfusion support


Before we start providing solution to your query, please share the below details that will be helpful for us to provide better solution.


1)             Share your exact requirement with detailed description.


2)             Share your Syncfusion package version.


3)             In your query you have mentioned that “But once the data is empty and the next time there is a record in the data, the formatting doesn't work.”. Please share the code part about how

                 you are emptying the data and next time how you are setting the data to the Grid.


4)             Share your complete Grid rendering code.


5)             In your query you have reported that the column format was not working, so please share your issue scenario in video demonstration format.


6)             Share the issue replication procedure step by step.


Regards,

Rajapandi R


Loader.
Live Chat Icon For mobile
Up arrow icon