Dropodown dependant

I have two tables on the database where (table one is main and table two is detailed, type states / countries)
Is it possible to implement 2 dependent drop down on the form (or grid / crud)?

See http://ui.agiletoolkit.org/demos/autocomplete.php, under “Lookup field” examples.

thank you, I had missed … very very good