Found my issue. I am supplying a list to the orderby parameter. If I supply 
only 1 field then it works. Is it possible to check if it is a list and if 
so, turn on the sorter icon for just the first field in the list?

On Monday, August 19, 2013 8:29:42 PM UTC-5, Jim S wrote:
>
> Just got back to looking at this and though the ticket is closed with a 
> status of FIXED, it doesn't display the sorter icon when you first display 
> the .grid.  Also, line 2212 of sqlhtml.py has a print statement that is 
> putting messages to my console.
>
> -Jim
>
> On Monday, August 12, 2013 10:01:45 AM UTC-5, Jim S wrote:
>>
>> Submitted.  Issue 1626.
>>
>>
>> On Mon, Aug 12, 2013 at 9:57 AM, Niphlod <niph...@gmail.com> wrote:
>>
>>> ok, then I guess it's doable. Would you please open a ticket to get the 
>>> feature request tracked ? I can do it in the evening.
>>>
>>> PS: until then another way is just to link the grid with the correct var 
>>> parameter
>>>
>>> Il giorno lunedì 12 agosto 2013 15:41:26 UTC+2, Jim S ha scritto:
>>>>
>>>> Well that answer was confusing.  Rereading Niphlod's question I should 
>>>> have responded:
>>>>
>>>> No, not for all the column headers, just for the one's included in the 
>>>> initial orderby on the SQLFORM.grid call.
>>>>
>>>> -Jim
>>>>
>>>> On Sunday, August 11, 2013 7:29:37 PM UTC-5, Jim S wrote:
>>>>>
>>>>> Yes, just for the active sort.
>>>>>
>>>>> -Jim
>>>>>
>>>>>
>>>>> On Sun, Aug 11, 2013 at 4:04 PM, Niphlod <nip...@gmail.com> wrote:
>>>>>
>>>>>> do you mean that you need in all headers the up/down arrows shown ?
>>>>>>
>>>>>> On Saturday, August 10, 2013 2:40:04 PM UTC+2, Jim S wrote:
>>>>>>>
>>>>>>> I have a requirement from a client to ALWAYS show the sorter arrows 
>>>>>>> on the sort column in SQLFORM.grid.  Anyone have a good way to turn 
>>>>>>> that on 
>>>>>>> globally?
>>>>>>>
>>>>>>> -Jim
>>>>>>>
>>>>>>>  -- 
>>>>>>  
>>>>>> --- 
>>>>>> You received this message because you are subscribed to a topic in 
>>>>>> the Google Groups "web2py-users" group.
>>>>>> To unsubscribe from this topic, visit 
>>>>>> https://groups.google.com/d/topic/web2py/NvbeqwOlqAA/unsubscribe.
>>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>>> web2py+un...@googlegroups.com.
>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>  
>>>>>>  
>>>>>>
>>>>>
>>>>>  -- 
>>>  
>>> --- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "web2py-users" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/web2py/NvbeqwOlqAA/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> web2py+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
>>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to