Jump to content

Filter data from another table in grocery crud

relation dropdown filter add_form add_field

  • Please log in to reply
No replies to this topic

#1 Pandy Peril

Pandy Peril


  • Members
  • Pip
  • 1 posts

Posted 11 September 2015 - 11:22 PM

I need to show data that filter from table_relation perangkatkeras and konfigurasi on Grocery CRUD. this both of table design.


ID | KodeInventory | Nama
1    01-2015-aa      Switch CISCO1
2    01-2015-ab      Switch CISCO2
3    01-2015-ac      Switch CISCO3


ID | perangkatkerasID | konfigurasi
1    1        
2    2        

perangkatkerasID foreignkey from table perangkatkeras (ID-foreignkey)

I want to show the data that has not been set in the konfigurasi table in form_add(). so if i go to add konfigurasi in field perangkatkerasID only show perangkatkeras (3 - 01-2015-ac - Switch CISCO3) in dropdown form.

please help me if that case posible in grocery crud.


Also tagged with one or more of these keywords: relation, dropdown, filter, add_form, add_field

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users