Hello, thank you for your help, but when I add a register this example works fine, the problem is when I need edit such register because the city associated with the register is not the right.
The problem is this line:
{name:'namecy',index:'namecy',editable: true,edittype:”select”,editoptions:{dataUrl:'load_cities.php?id_country=1'}}