Java JTable Ep.17 - Filter/Search Using JTextField

preview_player
Показать описание
ProgrammingWizards java JTable:java jtable filter data,column,date,regex,multiple filtes,rows,search,model,sort
,print,sorting and filtering,excel,header,jtextfield,jcombobox,database,java jtable tutorial

DESCRIPTION
Ok,when you have a large amount of data,you must find a way of filtering or searching through your data to find whats relevant for you.Whether your data is from database,xml,json or whatever data source,it doesn't matter here because we want to show in a platform independent manner.We shall be add our data or rows at runtime from jtextfields.We shall also add our columns at runtime.

Cheers Guys!!

Related tags:java jtable,database,netbeans,mysql,eclipse,add,row,column,cell renderer,clear,
sort,selection listener,model,checkbox,header,tutorial

Related Videos
ProgrammingWizards : Java JTable - Sort Using Column Headers
Рекомендации по теме
Комментарии
Автор

Thanks!!! you're the only one with who i can to understand this. Salutations from colombia.

estebanramos
Автор

although is 2015 video, but still useful until now
thanks man!

CPCPST
Автор

Despite being Brazilian I do not understand what it says in the video but the code helped me a lot obliged and a strong abrco.

ronaldof.dossantos
Автор

I LOVE YOU SO MUCH!!
Love from Pakistan!! <3

asharfarooqi
Автор

thank you ...it helps me a lot.
keep it up ..good work

RajRymes
Автор

thank you that helped me a lot
may god bless your knowledge

taemarow
Автор

i don't know your language but it work for me. thak u

topattitude
Автор

i cannot thank you enough man, you saved me

buddhichampika
Автор

Do you have the solution to this question
The Search text field allows you to carry out searches, each time you enter a letter, you must display the
contacts verifying the search criterion. For example, if the letter "s" is typed, then all contacts whose names
begin with "s" will be displayed; if we continue with the letter "a", then only contacts with names beginning with
"sa" will be displayed, and so on....

روعةحجيري
Автор

But the problem is with model.getValueAt(int rowIndex, int columnIndex)
When you filter it doesn't give you the correct object but the object in the position of the original sort

kreator
Автор

Thank you very much..! This helped me.

bhanukaweerasekara
Автор

Thanks a ton man! You're awesome :)

Yashuu
Автор

Thank You bro! Continue spreading your knowledge. God Bless You! :)

williamjayinclino
Автор

Thank you so much, you helped me a lot!! ;)

yara
Автор

Thank you very much brother!!!! you are crack man!!!

josueramos
Автор

what if i want to search through just a single column?

jlewxx
Автор

Hi, how do i search in database using that filter search ? i just try ur code but once im type my database table data are gone and when i erase all the letter in search box the table shows none

im ust copy ur code the private void filter and the code for the search field and i put try and catch coz i already have data in my database, but when i search it shows none ? how can i filter search in my data base ?

corneliobernardinojr
Автор

how to make case insensitive ? when I type "james", it cannot find "James". Please help me

jameskulu
Автор

very nice bro, thanks for sharing (Y)

joanrodriguez
Автор

How can I update a selected row after filtering?

babairecornelius