I was trying to add column sorting to the table and I couldn't find a proper example to do it. The example in the demoJS refers to a file named data_store which I guess is exporting a hook 'createDataStore'. Initially, I couldn't find the data_store file as I didn't know where to look for it but then it occurred to me and I looked into the GitHub repository for it. I start reading the file to see the contents of the file and thought of copying the relevant code from it. But there I found references to other files like comparators.ts. I was wondering is there any other way or any other example to look at for sorting or do I just have to find all the relevant files and copy code from them?
I was trying to add column sorting to the table and I couldn't find a proper example to do it. The example in the demoJS refers to a file named data_store which I guess is exporting a hook 'createDataStore'. Initially, I couldn't find the data_store file as I didn't know where to look for it but then it occurred to me and I looked into the GitHub repository for it. I start reading the file to see the contents of the file and thought of copying the relevant code from it. But there I found references to other files like comparators.ts. I was wondering is there any other way or any other example to look at for sorting or do I just have to find all the relevant files and copy code from them?