Commit Graph

499 Commits

Author SHA1 Message Date
Tim Richardson
4e298ed7d8 1866: small functionality change, better explanation.
Better 'tooltip' documention for different export formats.
Don't refer to Excel, say spreadsheet instead.
Only functionality change is standard CSV uses the rows.export_to_csv(..., represent=True) to make the output look like the on-screen grid representation.
The other formats are not changed, so both TSV and TSV with hidden columns do represent, and CSV with hidden columns does not (for speed)
2014-02-15 06:30:03 +11:00
Paolo Caruccio
ff17b551b4 greater flexibility for row customization by using css 2014-02-06 16:25:42 +01:00
Tim Richardson
99d64722a1 Better button labels for grid search widget
This is a second attempt at search widget buttons.
The create "+Add" is now "+Add Record".
The first search button becomes "New Search", and the And and Or buttons become "+ And" and "+ Or" (to hint that they add terms to the search). There are tool tips on all these buttons now
2014-02-02 18:15:57 +11:00
mdipierro
1b12bcb5d9 Merge pull request #372 from timrichardson/search_widget_button_label_change
Minor usability improvement to grid search widget
2014-01-31 15:09:06 -08:00
Tim Richardson
794b6bcb7b Minor usability improvement to grid search widget
changed the button "New" to "Add" and added a title attribute (view on hover) explaining what this button does
2014-01-31 16:45:57 +11:00
Tim Richardson
64ccd9043e fixed comment 2014-01-31 16:26:42 +11:00
Tim Richardson
18af4e92b0 when exporting hidden columns, pick up all virtual fields, even those not on display. 2014-01-31 14:45:45 +11:00
Tim Richardson
cfbae50248 step 2 of fixing export from grids when there are virtual fields. Note export hidden columns includes all table fields and any virtual fields which are displayed, but it does not pick up virtual fields which are not displayed. 2014-01-31 13:44:25 +11:00
Tim Richardson
20576684dd Step 1 in fixing 1859: this stops the crashing, but virtual fields are not exported 2014-01-31 12:02:46 +11:00
Tim Richardson
faecb124cc fixed a bug in SQLFORM.grid where export would fail if a search filter applied to a non-visible column 2014-01-29 18:55:32 +11:00
Vinicius Assef
45fc08e4a4 Allow empty reference field in form without IS_EMPTY_OR() validator, avoiding constraint violation exception 2014-01-17 18:20:43 -02:00
mdipierro
1caf7b5140 fixed 1845:styling widget divs, thanks Paolo Caruccio 2014-01-08 11:16:51 -06:00
mdipierro
14cacefa96 fixed grid export in HTML 2014-01-07 02:14:11 -06:00
mdipierro
28b9d322a2 fixed 1821:RadioWidget and CheckboxesWidget wrong behavior, thanks Paolo Caruccio 2013-12-17 16:50:42 -06:00
mdipierro
5b7167436b optional label in checkbox widget, fixed issue 1797, thanks Richard 2013-12-04 10:43:50 -06:00
Michele Comitini
14bcad629e quoting of tablenames and field names
fix for wrong sequence name quoting

fix for wrong sequence name quoting 2

reverted test to quoted rname

rname passed asis. freedom in table names and field names. Case sensitivity in field and table names

removed test of allowed char sequence in table and field names, there is no limit anymore

fixed some troubles with postgresql drop(). Better Row.__getitem__(): should not be much slower.  Added a ignore_field_case parameter to allow Field('F')!=Field('f') on databases supporting case sesitivity.

different mysql drivers handled in quoting test.

improved handling of foreing keys

fix with quoted names in SQLTABLE.  fix for ORDER BY

handle references on non "id" fields

check reference expression against table list first
2013-12-03 12:29:30 +01:00
mdipierro
9b8a24eeb9 fixed undefined form last commit 2013-11-22 12:14:08 -06:00
mdipierro
2361eb4a84 fixed issue 1786:Allow formargs to override grid parameters., thanks iiijjjiii 2013-11-22 10:25:22 -06:00
Massimo
f95476c51e fixed colgroup issue in grid, thanks Anthony 2013-11-07 10:47:57 -06:00
mdipierro
62bda4b917 Merge pull request #289 from michele-comitini/SQLCustomType_in_grid_fix
simple fix for wrong type detection of SQLCustomTypes
2013-11-06 08:31:34 -08:00
Michele Comitini
e0ea9b78f8 simple fix for wrong type detection of SQLCustomTypes 2013-11-05 16:09:42 +01:00
mdipierro
350bd25404 another iteration to col/colgroup in grid, thanks Anthony for advice 2013-11-03 09:26:26 -06:00
mdipierro
6d3fe6cf89 col in colgroup for grid extracolumns, thanks Anthony 2013-11-02 10:09:11 -05:00
mdipierro
a3bf95e423 fixed colgroup wrapping, thanks Anthony 2013-11-02 09:26:19 -05:00
mdipierro
a01aa78f36 fixed issue 1761:Add <col> elements to the grid for easier column formatting, thanks Anthony 2013-11-01 18:01:02 -05:00
Jaripekkaf
221fdc51ba bootstrap3 formstyle 2013-10-22 13:15:21 +03:00
mdipierro
0faa7d3174 removed print statment, thanks Johann 2013-10-16 09:11:28 -05:00
mdipierro
a379d7020e fixed issue 1723:Missing translation for the word file in the upload widget, thanks mweissen 2013-10-16 09:00:42 -05:00
Tim Richardson
cff267c9c6 This fixes SQLFORM.grid virtualfields with fields= 2013-10-12 23:25:59 +11:00
Tim Richardson
c526cedd41 completed merge of virtual fields in fields arguemnt for SQLFORM.grid 2013-10-12 14:37:14 +11:00
Tim Richardson
436bd7b39c fix virtual fields with SQLFORM.grid fields=
Conflicts:
	gluon/sqlhtml.py
2013-10-12 13:59:39 +11:00
mdipierro
3635dd8faf fixed problem with Virtual Fields and grid 2013-10-11 17:59:30 -05:00
mdipierro
5428fdbd04 reverted error commit 2013-10-09 09:07:00 -05:00
Tim Richardson
a3f3ed1298 fix for Issue 1692 virtual fields in forms 2013-10-08 13:31:36 +11:00
mdipierro
06ca5e6857 grid refcator patch for ajax, thanks Niphlod 2013-10-05 08:52:45 -05:00
mdipierro
700fd846a8 fixed a problem with grid 2013-10-04 14:56:16 -05:00
mdipierro
7eb67fe6fa fields with readable=False should not be exportable from grid 2013-10-04 00:16:30 -05:00
mdipierro
96e17ff1db SQLFORM.grid(...,ignore_common_filters=True) 2013-09-27 13:08:02 -05:00
mdipierro
e7a9457249 fixed problem with widget and list:string 2013-09-19 22:03:37 -05:00
mdipierro
ed9def985e R-2.6.1 2013-09-12 17:08:52 -05:00
niphlod
4089001d99 grid search widget always use ISO format for date(time) fields 2013-09-08 18:27:37 +02:00
niphlod
a7d4c5297e fixed issue 1584 (grid export with left join) 2013-08-30 21:13:49 +02:00
mdipierro
70a8284cb5 fixed issue 1643:grid - export HTML - missing charset=UTF-8, problems with non-ASCII-chars; proposal, thanks Martin 2013-08-21 04:39:55 -05:00
mdipierro
56dcaff236 fixed a problem with sortable grid, new icons 2013-08-20 03:22:54 -05:00
mdipierro
9a86f4f0f3 removed print from sqlhtml.py 2013-08-20 01:34:30 -05:00
niphlod
dd582c61e9 added enhancement 1626, marker shown in grid also for default orderby 2013-08-12 23:59:03 +02:00
niphlod
567ee5f379 fixed issue #1622. Thanks @kyleflanagan for reporting it 2013-08-09 21:05:28 +02:00
niphlod
ad2f177592 fixed issue with grid and groupby 2013-08-07 15:39:54 +02:00
mdipierro
90069aacda fixed(?) count(*) problem in grid 2013-08-07 04:14:18 -05:00
mdipierro
349aa6c0a5 no more editable, create, etc, on groupby in grid 2013-08-06 05:12:56 -05:00