Hi,
I have 2 databases:
categ_sfaturi [id(autoincrement), nume_categorie(varchar)]
sfaturi [id(autoincrement), categorie(varchar), sfat(varchar)]
I need to display a table using sfaturi db where in add / edit dialog the field categorie is select type and displays the values of nume_categorie from categ_sfaturi database.
I tried to use the dropdown-dependent.php as sample but it seems that I'm doing something wrong. Any suggestions?
PS: i'm using the paid version of phpgrid.
Thanks.
I have solved the problem.
I do have one more question, though:
is it possible to have a scroll bar inside a field?
I have a character field in a db and it contains some large texts. When I display the grid those fields make the table look bad…
You can try using textarea for input field.
$col["edittype"] = "textarea";
If issue persist, Please share some screenshot of the issue.
Hi Abu,
Thanks for your feedback.
The problem is not in edit form, but when I display the grid.
Here is a printscreen: http://s22.postimg.org/546ljuni9/aaa.jpg
You can use 'readmore' plugin that collapse long text and expand on readmore click.
Sample integration code: http://pastebin.com/9jHVPYty