On 23/apr/2010, at 21.46, Andre.Bisseret wrote:
Actually, to do a multi-criteria sorting (here two criteria) one must sort
firstly by the second criteria, then by the first one. So that one gets the
names in alphabetical order inside each date. So a mixt of my two proposal
seems to do the
Bonjour Marcello,
Le 26 avr. 10 à 13:15, Marcello Bertoli a écrit :
On 23/apr/2010, at 21.46, Andre.Bisseret wrote:
Actually, to do a multi-criteria sorting (here two criteria) one
must sort firstly by the second criteria, then by the first one. So
that one gets the names in alphabetical
On 26/apr/2010, at 15.13, Andre.Bisseret wrote:
A while later, trying to comment it, I discovered that it was working without
any wait as well!!!
I must confess that I am unable to explain why.
I must add that the data grid I am using for trials has only 9 rows (3 dates
with 3 names
On Apr 21, 2010, at 12:10 PM, Marcello Bertoli wrote:
I need to sort the lines of a datagrid with more than one criteria.
For instance:
The datagrid represents invoices with these columns:
- invoice date
- invoice number
- invoice title
When I click on the invoice date header I would like
On 26/apr/2010, at 18.01, Trevor DeVore wrote:
on SortDataGridColumn pColumn
switch pColumn
case invoice date
SortDataByKey invoice date, ...
SortDataByKey invoice number, ...
HiliteAndStoreSortByColumn pColumn
break
default
criteria sorting (maybe here Trevor
can give us a hint)
2. We have to process the array of the datagrid, sorting with multicriteria and
then populate again the datagrid with the new array.
Any idea?
Best regards
Marcello___
use-revolution mailing list
, there are two chances:
1. The datagrid code can itself manage muti criteria sorting (maybe
here Trevor can give us a hint)
2. We have to process the array of the datagrid, sorting with
multicriteria and then populate again the datagrid with the new array.
Any idea?
Bonsoir Marcello
Hi Andre,
thank you very much for your answer. I tried your code but it doesn't do the
job. It is like pushing the column header of the datagrid two times (first the
number one and the the date one).
My data come from a sql base so I can (as Steven said) make the query do the
work of the
Le 22 avr. 10 à 11:38, Marcello Bertoli a écrit :
Hi Andre,
thank you very much for your answer. I tried your code but it
doesn't do the job. It is like pushing the column header of the
datagrid two times (first the number one and the the date one).
Bonjour Marcello,
Sorry, I had read
Marcello,
Seems this one might be working as you expected (?)
-- in the script of the dataGrid: ---
local hcColumn,theColumn
---
on mouseDown
put the dgHeaderControl of the mouseControl into hcColumn
if hcColumn is not empty then
put the dgColumn of the target into
Hi all,
I need to sort the lines of a datagrid with more than one criteria.
For instance:
The datagrid represents invoices with these columns:
- invoice date
- invoice number
- invoice title
When I click on the invoice date header I would like to sort the lines of the
invoice datagrid first
If the data is coming from a SQL database, make the query do the work of the
multiple sorting before loading into a datagrid.
On 21 April 2010 09:10, Marcello Bertoli mbert...@libero.it wrote:
Hi all,
I need to sort the lines of a datagrid with more than one criteria.
For instance:
The
Bonjour Marcello,
Le 21 avr. 10 à 18:10, Marcello Bertoli a écrit :
Hi all,
I need to sort the lines of a datagrid with more than one criteria.
For instance:
The datagrid represents invoices with these columns:
- invoice date
- invoice number
- invoice title
When I click on the invoice
On Nov 22, 2009, at 10:24 AM, RevList wrote:
In my datagrid, I load in a column from a SQLite database that is the
number of seconds that a person has been logged in to a particular
server.
I have a function that converts the data into days, hrs, mins, seconds
and populates another column in
In my datagrid, I load in a column from a SQLite database that is the
number of seconds that a person has been logged in to a particular server.
I have a function that converts the data into days, hrs, mins, seconds
and populates another column in the datagrid at fill time. This works
perfectly.
15 matches
Mail list logo