WebSite X5Help Center

 
Mark Fletcher
Mark Fletcher
User

Database viewer - Increase Add/Edit dialog input box  en

Autor: Mark Fletcher
Visited 1937, Followers 1, Udostępniony 0  

If you wish to increase the width of the add/edit dialog box in the database viewer (DBviewer), then add an HTML object to the page, where the dbviewer object is and in the expert section add:

.jtable-dialog-form input[type="text"] {
min-width: 250px;
}

change the 250px to what you want.

Hope this is helpful.

Posted on the
6 ODPOWIEDZI
John S.
John S.
User

Hello Mark

Good tip. I would suggest that you also put the tip on : https://wsx5.afsoftware.fr/

If you are not a member and don't want to be, then maybe Axel will put it in the forum, so it will be available, also in the future.

Czytaj więcej
Posted on the from John S.
Mark Fletcher
Mark Fletcher
User
Autor

Hi John,

I have signed up for that forum, just recently. Not had time to look round yet.

But if, Axel wants to add this snippet, then please do.

The snippet actually came from jtable.org

DBviewer is based on the open source jtable.org and it would be great if the WX5 team could actually implement the child tables, then simple two table relational databases could be implemented.

Czytaj więcej
Posted on the from Mark Fletcher
John S.
John S.
User

Hello Mark

If you work with databases, I could recommend the Appgini.

You can see an example here : http://eksempelsite.dk/side-4.html

It is very easy to make simple parent-child relations, and to create table and detail views.

Users can be attached to groups where it is specified if they have insert, view, delete and edit rights for each table. It can even be set up for a specific user. It is not free, but the price is very fair. It is not an alternative to X5, as X5 is for creating websites, and AppGini is for creating/maintaining database solutions. As you can see in the example it is easy to integrate in X5.

Czytaj więcej
Posted on the from John S.
Mark Fletcher
Mark Fletcher
User
Autor

Thanks, but I have already created my own child tables, using jtable for simple relationships, such as, members and subscriptions.

Czytaj więcej
Posted on the from Mark Fletcher
Axel  
Axel  
User

Hello Mark,

I have already included your tip on my forum. But I cannot check it because I have no DBviewer object.

If you could post & share your code to manage child tables it's could be very nice for us, and for all others users.

Regards

https://wsx5.afsoftware.fr

Czytaj więcej
Posted on the from Axel