- Issue created by @SirClickALot
- ๐ฎ๐ณIndia prem suthar Ahemdabad- Gujrat , Jodhpur - Rajsthan
prem suthar โ made their first commit to this issueโs fork.
- @prem-suthar opened merge request.
- ๐จ๐ญSwitzerland condor616
Hi @sirclickalot, thank you for raising the issue.
We are currently using this module in our project (D10), and we are planning to migrate to D11 next year.I wasn't aware of the "csvfile_formatter" module. We'll also do some feature comparison and see whether if fits our purposes.
- ๐ฎ๐ณIndia prem suthar Ahemdabad- Gujrat , Jodhpur - Rajsthan
@condor616
I have used the csvfile_formatter to achieve the same functionality but that in a different way, as explained below.The csvfile_formatter operates based on the content type. First, we need to create a field within the content type. Then, in the "Manage Display" section, we select the formatter. After that, we add the necessary classes as per our requirements and utilize DataTables, which offers various configuration options.
However, csvfile_formatter module has some limitations and functionality lack . The table generated does not provide a search functionality, and it cannot be used without creating a field.
- ๐จ๐ญSwitzerland condor616
Thank you @prem-suthar.
In the case of big_datatable, we are not tied to a specific content type, which gives us flexibility but also has its downsides.When generating the table (via config page), the big_datatable specifies the URL path under which this table should be accessible.
The downside of this, is that the page/URL will only contain the table. No other content (apart from blocks) will be applicable to that page. - ๐ฎ๐ณIndia prem suthar Ahemdabad- Gujrat , Jodhpur - Rajsthan
@condor616 Right if we have content then table override the content and only display the table.
- ๐ฌ๐งUnited Kingdom SirClickALot Somerset
The primary reason for our interest in an alternative to CSV File Formatter is because we could not wrap the CVS file link in a class as per this issue: https://www.drupal.org/project/csvfile_formatter/issues/3425293 โจ Enable wrappIng of file download link in classes Closed: won't fix
I'm not even sure that Big Datatable can expose a CSV download link in the front end but, in terms of using this for teaching Big Data type learning, it would be a an essential option but I also think it might be useful to many others too.
- ๐บ๐ธUnited States erutan
I'm currently evaluating options. Here's some more modules that do a similar thing - at least one has the ability to also download the source file (though it seems like you could use just make your own link from a block or view or something easily enough).
https://www.drupal.org/project/file_table_formatter โ
https://www.drupal.org/project/blizz_table_field โ
https://www.drupal.org/project/tablefield โ
https://www.drupal.org/project/datafield โ Automatically closed - issue fixed for 2 weeks with no activity.