0

I'm using angular ui-grid to create a table. I have enabled the csv import feature, and this is working and is populating the table for me. Here is the issue I'm having:

Before I populate the table with the data, I want to verify that the csv file size being imported is less than a certain size (say 10MB). Is it possible to get this information from the api that ui-grid provides? I have searched the docs and can't find any reference to this.

Thanks

kellzerIrl
  • 103
  • 1
  • 10

1 Answers1

0

According their APIs you cannot do this.But you can request this feature from them.

Here is the csv.js where you can request that feature.

This is the Ui Grid importer api GridOptions.But unfortunately there is no file size detection option there.

Sampath
  • 63,341
  • 64
  • 307
  • 441