pgadmin4/web
Akshay Joshi 686237413c Use more sensible column sizes for the data output in the query tool. Fixes #1789
Per Akshay:

I have tried to get the width of the content but we are sending complete data as collection to the SlickGrid. We will have to fetch the content of each column and figure out the maximum length for that column by iterating all the rows is too expensive. Apart from that to set the width in 'ch' we will have to do it using css. With current implementation we are setting the column option of the SlickGrid from javascript code.

I have fixed this issue by setting the width of the columns based on data type. I have set the width of boolean column to 60, all the numeric/integer columns to 80 and for all other data types it is 20% of the container width as 33% is too wide.
2016-12-12 10:13:53 +00:00
..
pgadmin Use more sensible column sizes for the data output in the query tool. Fixes #1789 2016-12-12 10:13:53 +00:00
regression Always create databases from template0 when running regression tests, to ensure consistency and avoid concurrency issues. 2016-10-18 11:57:31 +01:00
babel.cfg Include SQL templates in the translation template. 2016-11-14 11:53:20 +00:00
config.py Allow a placeholder ($DIR) to be used in utility paths to make it easier to use relative paths. 2016-11-23 13:35:27 +00:00
pgAdmin4.py Move security keys into the SQLite database, and auto-generate them. 2016-10-19 09:22:38 +01:00
pgAdmin4.wsgi Fix WSGI support. 2016-08-18 13:43:00 +01:00
setup.py Ensure the auto-generated CSRF_SESSION_KEY, SECRET_KEY, 2016-10-20 13:16:31 +05:30