RE: [dbi] Re: RFC : AJAX + DBI = DBIx::LiveGrid




On 16-Sep-2005 Jeff Zucker wrote:
> Martin J. Evans wrote:
>
>>Jeff,
>>
>>
>> The $order parameter is required if $rows is specified.
>>
>>
> Ah, yes, of course, thanks for spotting that. To confirm, does it scroll
> correctly when you do specify an order (i.e. by clicking on a column
> heading to toggle ordering by that column)?

Yes.

> If it does then I guess I
> will need to have a default order clause (which makes sense). I guess
> I'll default to ordering by the first column unless the script specifies
> otherwise.

Pretty much what I did.

>
> --
> Jeff

I added comments to your permonks node which detailed what I did.
http://www.perlmonks.org/?node_id=492067

Martin
--
Martin J. Evans
Easysoft Ltd, UK
Development

.



Relevant Pages