Topic: Datatable column alignment
                  
                  Dae
                  pro
                  asked 3 years ago
                
Expected behavior I am looking for a way to align a column right or centered. I am creating the table with async in JS. I tried using formatCell but the problem is that only align the cells but not the header.
Actual behavior
Resources (screenshots, code snippets etc.)
cols[0]= [ { label: 'field1', field: 'field1', width:120, fixed: true}, { label: 'field2', field: 'field2' }, ..... ]
                      
                      Mateusz Lazaru
                      staff
                        answered 3 years ago
                    
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
 - Premium support: No
 - Technology: MDB Standard
 - MDB Version: MDB5 5.0.0
 - Device: All
 - Browser: All
 - OS: All
 - Provided sample code: No
 - Provided link: No