I'm finding that SQLTABLE, though mostly well-behaved, doesn't properly
take the th elements into account when sizing the table space; I'd like to
add padding-right to those elements, but I've forgotten how to do it.
My view looks like:
myeheaders: th { padding-right: 2em} ;
{{extend
On Saturday, December 3, 2016 at 2:25:50 PM UTC-5, Marlysson Silva wrote:
>
> You can do it with javascript, using:
>
> Api navigador:
> https://developer.mozilla.org/en-US/docs/Online_and_offline_events#Overview
>
> https://developer.mozilla.org/en-US/docs/Online_and_offline_events#Overview
>
You can do it with javascript, using:
Api navigador:
https://developer.mozilla.org/en-US/docs/Online_and_offline_events#Overview
https://developer.mozilla.org/en-US/docs/Online_and_offline_events#Overview
Em sexta-feira, 2 de dezembro de 2016 15:11:08 UTC-3, Ramos escreveu:
>
> What could be the
In my case, I have records with 2 fields, A & B; I want one record to be
displayed for each distinct value of A when B is either 1 or 2, but it is
possible that each will be present, so I use groupby A to avoid duplication.
I tried using a smartgrid, but it exhibited the same groupby/add
This is tricky. Write operations (as well as the details view) are disabled
with groupby because the rows in the grid do not necessarily represent
individual records. Of course, that shouldn't necessarily preclude adding
new records, but from a user perspective, we have to think of what is
You can customize the search functionality by providing (a) a custom widget
via the "search_widget" argument (it takes a list of searchable fields and
a URL and should return a search form) and/or (b) a custom search query
builder via the "searchable" argument (it takes a list of searchable
When using the basic (as opposed to advanced) search function of an
SQLFORM.grid, it only appears to look in text fields, such that if I enter
a number, it doesn't find any matches unless that number appears in a text
field (even if that field is not one of the ones displayed in the grid).
Is
I have a SQLFORM.grid in which I would like to use groupby as well as be
able to create records. But when I supply the groupby parameter, the Add
Record button disappears, and can be made to re-appear if the only thing I
change is remove the groupby parameter.
Is this a bug? If it is a
My bad; I was using concrete (the callback for AFTER a record has been
created) instead of onvalidation (the one for BEFORE that).
On Friday, December 2, 2016 at 11:17:57 PM UTC-5, Scott Hunter wrote:
>
> If the oncreate callback for a SQLFORM.grid sets form.errors to true, the
> record is not
9 matches
Mail list logo