Search
It’s easy to implement basic search functionality. The search functionality search through the table with a a wildcard-filter in each visible column.
Original
SR. | NAME | GENDER | AGE | DATE | COUNTRY |
---|---|---|---|---|---|
1 | Dett2 | Female | 36 | 16/08/2020 | Great Britain |
2 | Nern | Female | 19 | 15/10/2017 | France |
3 | Kallsie | Male | 20 | 16/08/2016 | France |
4 | Siuau | Female | 21 | 21/05/2015 | Great Britain |
5 | Shennice | Male | 22 | 21/05/2016 | France |
6 | Chasse | Female | 23 | 15/10/2018 | France |
7 | Tommye | Male | 24 | 16/08/2017 | United States |
8 | Dorcast | Female | 25 | 21/05/2016 | United States |
9 | Angelee | Male | 26 | 21/05/2017 | Great Britain |
10 | Willoom | Female | 26 | 15/10/2019 | France |
Select columns to search in
By default all columns are searched in. If you want to search in one or more specific column – you can use search_cols in format col,col,col or col from-col to or a combination (e.g. 1,4,5 or 1-5 or 1,2,3-5) or just the specific column name(s) (e.g. age, name).
In the example below we only want to search for 9 in the age-column (4):
[csvtohtml_create source_type="guess" source_files="free_testdata_10rows.csv" search_functionality="yes" search_highlightcolor ="lightgreen" search_cols="4"]
SR. | NAME | GENDER | AGE | DATE | COUNTRY |
---|---|---|---|---|---|
1 | Dett2 | Female | 36 | 16/08/2020 | Great Britain |
2 | Nern | Female | 19 | 15/10/2017 | France |
3 | Kallsie | Male | 20 | 16/08/2016 | France |
4 | Siuau | Female | 21 | 21/05/2015 | Great Britain |
5 | Shennice | Male | 22 | 21/05/2016 | France |
6 | Chasse | Female | 23 | 15/10/2018 | France |
7 | Tommye | Male | 24 | 16/08/2017 | United States |
8 | Dorcast | Female | 25 | 21/05/2016 | United States |
9 | Angelee | Male | 26 | 21/05/2017 | Great Britain |
10 | Willoom | Female | 26 | 15/10/2019 | France |
And this would result in:
SR. | NAME | GENDER | AGE | DATE | COUNTRY |
---|---|---|---|---|---|
2 | Nern | Female | 19 | 15/10/2017 | France |