NeoTable, populating a neoTable list box from a database - Forum

Forum Navigation
You need to log in to create posts and topics.

NeoTable, populating a neoTable list box from a database

Hi @gaev, everybody.

First of all thanks for your NeoTable tutorial, because is well done and clear, but (correct me if I'm wrong) I did not saw

how to populate a neotable Listbox from a database.

As you are the VisualNeo master,  it is possible for you to show or attach an example of how to do it?

That will help a lot with my project.

Many thanks

 

 

@xojo

I did not saw how to populate a neotable Listbox from a database

The Tutorial I did for @luishp was all about displaying the contents of a json object as a (spreadsheet like) table of rows and columns.

1) I did not address using a database as the source of the content (I believe the database access in VisualNEOWeb was developed much later).

2) Assuming that you already know (from other Tutorials) how to access contents of a database in json format, are you wanting to populate the cell of a (spreadsheet like) table with a ListBox from which the user can pick an item ? ... if so, I do not believe the underlying Bootstrap Table offers such a facility ... while not impossible, it would require a lot of native javascript code to do this.

@xojo I think you should check this included sample app:

Simple Movie Database:
https://visualneo.com/tutorials/moviedb

Use "admin" as user and pasword.

NeoTable is prepared to edit information from a database in different ways, including using a listbox. But it's used to populate the database not to show it's contents. Note that you can show the content in many different ways using HTML and JavaScript to parse the content as it's shown in the Simple Movie Database.

Regards