Add some text field under a column

Add some text field under a column

advapiadvapi Posts: 5Questions: 3Answers: 0

Hello again,
sorry to disturb you. I need to put below 2 columns two textboxes (one per column) since I need to pass this value to the rest API that fills the data. I've tried googling around but I've not found anyworking solution.

Anyone has succeed in?

Thanks

Answers

  • colincolin Posts: 15,141Questions: 1Answers: 2,586

    You could add a second header (or footer) line and an input element into there.

    Colin

  • advapiadvapi Posts: 5Questions: 3Answers: 0

    excuse me, how can I do that since I define the columns as

     {
                        title: "Costo Agente",
                        data: "costoAgente",
                        type: 'percent',
                        render: $.fn.dataTable.render.number(',', '.', 2, '', '%')
    
                    },
    

    Thanks

  • kthorngrenkthorngren Posts: 20,246Questions: 26Answers: 4,760

    Are you looking for something like this?
    https://datatables.net/examples/api/multi_filter.html

    Click the HTML tab to see how the footer is built.

    Kevin

Sign In or Register to comment.