- For those have used React-Tables and are stuck while adding S.N or extra column in React-Tables.
const fields = ['s.n', 'title', 'url', 'state'];
If columns are fetched from backend/api and you want to add the "S.N" column then
const columnFields = ['s.n']; columnFields.push(...fields);
View More and detail at this link Blazecodes.com
Top comments (0)