I am using jtables (http://www.jtable.org), but one of the options to create a combobox (dropdown menu) is such:
Branch: {
title: 'Branch',
type: 'list',
options: {
'1': 'Auckland',
'2': 'Queensland'
}
}
I want to be able to use a mysql query (JSON'ed?) for my "options" instead of hardcoding it. Any ideas?