Regardless - I think I found it:
Putting the following in the corresponding view does the trick:
jQuery(document).ready(function(){
jQuery('#w2p_keywords').css('width', '900px');
});
P.S. For anyone interested: In order to manipulate the object, you need to
know i
Always trunk. Please.
On Monday, 8 April 2013 10:25:13 UTC-5, Cliff Kachinske wrote:
>
> I can provide a patch. Should I do the diff against trunk or stable or
> nightly build?
>
> On Monday, April 8, 2013 10:40:04 AM UTC-4, Cliff Kachinske wrote:
>>
>> Done. Issue 1436.
>>
>>
>>
>> On Monday,
I can provide a patch. Should I do the diff against trunk or stable or
nightly build?
On Monday, April 8, 2013 10:40:04 AM UTC-4, Cliff Kachinske wrote:
>
> Done. Issue 1436.
>
>
>
> On Monday, April 8, 2013 10:00:01 AM UTC-4, Massimo Di Pierro wrote:
>>
>> Please open a ticket about this. It i
Done. Issue 1436.
On Monday, April 8, 2013 10:00:01 AM UTC-4, Massimo Di Pierro wrote:
>
> Please open a ticket about this. It is an oversight and easy to fix.
>
> On Monday, 8 April 2013 08:43:40 UTC-5, Cliff Kachinske wrote:
>>
>> Is there any reason why the default search widget does not inc
Please open a ticket about this. It is an oversight and easy to fix.
On Monday, 8 April 2013 08:43:40 UTC-5, Cliff Kachinske wrote:
>
> Is there any reason why the default search widget does not include decimal
> field types?
>
> In sqlhtml.py v 2.4.2, decimal field types are omitted from the sea
Sorry the previous email did not contain the final version. Here it is.
def search_form(self,url):
form = FORM('',
INPUT(_name='keywords',_value=request.get_vars.keywords,
_style='width:200px;',
_id='keywords'),
INPUT(_type='submit',_value=T('Sear
Here is an update on the search widget.
The solution above does not work if the found results spread over several
pages. The search is lost on the extra pages.
The solution to this is to change all occurrences of 'search_text' appear
in the request with 'keywords'
def search_form(self,url):
it works now =)
thanks dude
about the search query
Found a hack somewhere in the here group telling to delete it directly like:
del grid[0][2]
Em sexta-feira, 20 de julho de 2012 05h29min27s UTC-3, peter escreveu:
>
> I think that there is an argument for incorporating my solution into the
> s
Maybe open a issue and summit a patch or your code...
http://code.google.com/p/web2py/issues/list
Richard
On Fri, Jul 20, 2012 at 4:29 AM, peter wrote:
> I think that there is an argument for incorporating my solution into the
> standard sqlform grid and having a flag for switching between the
I think that there is an argument for incorporating my solution into the
standard sqlform grid and having a flag for switching between the query
system or my simple text search. If the table is being presented in a web
application for the great web public then they are going to expect searches
I think it will solve one of the issue I had with using sqlform.grid in
place of sqltable + Datatables. Since Datatables has a pretty simple
search/filter and my users knows how to use it than I would not remove this
kind of easy search/filter functionality and leave them with only a harder
more co
Thanks for this I had not noticed that clear did not work, I guess I never
use it.
The problem is a type in the search_form function
The fifth line should read
id = 'search_text'),
not id='searchText'),
Does anyone know if I can edit the first message in this topic so as to
correct it?
Pet
Works like a charm, but the "Clear" button is working exactly like the
"Search" one, without clearing 'search_text' before submit
Is there another method to do that?
Em segunda-feira, 16 de abril de 2012 23h32min49s UTC-3, Cliff Kachinske
escreveu:
>
> Good one.
>
> You earned a browser bookmar
Good one.
You earned a browser bookmark.
Thanks.
On Wednesday, March 7, 2012 4:44:00 AM UTC-5, peter wrote:
>
> As I have commented before, sqlform.grid has a particular way of
> searching. Its combination of search and 'queries' is very powerful.
> However the search does not really work in t
Hi Peter,
Just to say thank you so much for your posting this, and with this help I
did get it working OK.
@Book Editor. In the absence of other documentation, perhaps this example
ought to be mentioned in the book?
Thanks, David
On Wednesday, 7 March 2012 09:44:00 UTC, peter wrote:
>
>
15 matches
Mail list logo