How to sort Input Text fields in a Table by its value

How to sort Input Text fields in a Table by its value

TerryNairTerryNair Posts: 3Questions: 2Answers: 0

Have a table with a column where form text input fields are used allow the user to enter the quantity they which to order. Each row is the unique product. My issue is that I am unable to sort the quantity column with the input fields.

The idea is simple. With say 15 rows (product), the user field in for example the 7th and 15th row Quantity in the input box. What I want is to be able to sort the column where the 7th and 15th will appear at the top when clicked where all the rest that is not filled or empty below. That means the sort option needs to be able to read the input value if entered.

That is the basic requirement I need. If possible, sort the input values by their actual entered values in ascending or descending order. Any help on this is most appreciated.

Terry Nair
WhatsApp : https://wa.me/6596729540
Email : terrynair@gmail.com

Answers

This discussion has been closed.