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,240Questions: 1Answers: 2,599

    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: 21,341Questions: 26Answers: 4,954

    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.