I'm using drf-renderer-xlsx according of the official doc.
The endpoint is ok and I can to export my data in xlsx format.
My problem is that I need to insert a custom row to my file. Someone has any idea?
Related
I have a requirement where I need to programmatically download the BIRT report in excel (xlsx) format and for a specific page range. Like (5-10).
By default it is generating the excel sheet with all the rows. Can anyone please help here.
Note: I am using the org.eclipse.birt.runtime4.4.1.jar.
Regards,
Sandip Mohapatra
It doesn't make sense, because XLSX is not a page-oriented format.
If instead you want to generate an XLSX with only the rows for records e.g. 51-100 then you should use a LIMIT clause in the SQL statement or something like that.
I want to get particular part of excel file in Nifi. My Nifi template like that;
GetFileProcessor
ConvertExcelToCSVProcessor
PutDatabaseRecordProcessor
I should parse data between step 2 and 3.
Is there a solution for getting specific rows and columns ?
Note:If there is a option for cutting ConvertExcelToCSVProcessor, it will work for me.
You can use Record processors between ConvertExcelToCSV and PutDatabaseRecord.
to remove or override a column use UpdateRecord. this processor can receive your data via CSVReader and prepare an output for PutDatabaseRecord or QueryRecord . check View usage -> Additional Details...
in order to filter by column use QueryRecord.
here an example. this example receives data through CSVReader and makes some aggregations, you can as well do some filtering according to doc
also this post had helped me to understand Records in Nifi
I am trying to convert the row of a PDF table in a column using UniPDF Go Library, I have tried the example they are mentioned at https://github.com/unidoc/unipdf-examples/blob/master/tables/pdf_tables_row_wrap.go but I am not able to modify the document as required.
Any help would be appreciated.
Not sure if I understand this correctly, but I am assuming you have input data that you want to display in a single column.
To achieve this, you can create a single-cell column:
https://github.com/unidoc/unipdf-examples/blob/fe269eb0efffed8e199c82cb7b7b4a38859b35d7/tables/pdf_tables_simple.go#L98
with
table := c.NewTable(1)
I have created a play for this: https://play.unidoc.io/p/3421387bcde00a52
see also
https://apidocs.unidoc.io/unipdf/v3.20.0/github.com/unidoc/unipdf/v3/creator/#Creator.NewTable
I have a column $table->date('start_date'); , and I want to store data and time so I will need timestamp.
I already have some date in my current table, so I am not sure what to do without deleting existing data.
I find some solutions (on changing data type) that involve doctrine, but from what I read, Supported Laravel Versions is 6.x and I am using 7.
Any solutions?
According to the PostgreSQL documentation you can convert a date to timestamp by using to_timestamp() function
https://www.postgresql.org/docs/8.2/functions-formatting.html
You have two choices :
Create a new column and create a script which convert all entries in the right format
Create a script which update all the datas you need to into the already existing table
How do I get the search/filter to work per column?
I am making small steps in building, and constantly adding to my data table, which is pretty dynamic at this stage. It basically builds a datatable based on the dat that is fed into it. I have now added the footer to act as a search/filter, but unfortunately this is where I have become stuck. I cannot get the filer part to work. Advice greatly appreciated.
here is my sample data tables that I am working on http://live.datatables.net/qociwesi/2/edit
It basically has dTableControl object that builds by table.
To build my table I need to call loadDataFromSocket which does the following:
//then I have this function for loading my data and creating my tables
//file is an array of objects
//formatFunc is a function that formats the data in the data table, and is stored in options for passing to the dTableControl for formatting the datatable - not using this in this example
//ch gets the keys from file[0] which will be the channel headers
//then I add the headers
//then I add the footers
//then I create the table
//then i build the rows using the correct values from file
//then I draw and this then draws all the row that were built
//now the tricky part of applying the search to each columns
So i have got this far but the search per column is not working. How do I get the search/filter to wrok per column?
Note this is a very basic working example that I have been working off: http://jsfiddle.net/HattrickNZ/t12w3a65/
You should use t1.oTable to access DataTables API, see updated example for demonstration.
Please compare your code with jsFiddle in your question, notice its simplicity and consider rewriting your code.