Sending my own data sets to grid

View: New views
4 Messages — Rating Filter:   Alert me  

Sending my own data sets to grid

by Jolle Carlestam-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm struggling with collecting records where the result sent from  
Mysql need adjusting by Lasso before it's usable. Is there someway I  
can send Lasso crafted data sets into a grid object? Like an array of  
arrays or something.

HDB
Jolle

--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <knop@...>.
To unsubscribe, E-mail to: <knop-off@...>
Send administrative queries to  <knop-request@...>
List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/

Re: Sending my own data sets to grid

by Johan Solve-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is on the agenda but it's not too easy to do without duplicate functionality, to still be able to use a native records loop for plain records listings. My experiences from using records_array in the database object shows that a native records loop is much faster, but as I think of it now it's possible I've only tried with high level calls to ->field member tags instead of low level array digging.
I'll make another attempt with this and see if the native records loop can be abandoned altogether for the grid output. That would solve your need since it would open up to use arbitrary arrays as grid datasource.

At 22.50 +0200 2009-08-24, Jolle Carlestam wrote:
>I'm struggling with collecting records where the result sent from Mysql need adjusting by Lasso before it's usable. Is there someway I can send Lasso crafted data sets into a grid object? Like an array of arrays or something.
>
>HDB
>Jolle


--
     Johan Sölve    [FSA Member, Lasso Partner]
     Web Application/Lasso/FileMaker Developer
     MONTANIA SOFTWARE & SOLUTIONS
http://www.montania.se   mailto:joh-n@...
 (spam-safe email address, replace '-' with 'a')

--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <knop@...>.
To unsubscribe, E-mail to: <knop-off@...>
Send administrative queries to  <knop-request@...>
List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/

Re: Sending my own data sets to grid

by Johan Solve-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm making some progress on this. I have a grid listing in place that iterates the records_array instead of the native records loop.

->renderlisting (bare listing without header and footer) is rendered about 10% slower than when using the native records loop (typical times 54 ms vs 49 ms for 125 rows). For the full ->renderhtml the speed difference drops to 1-2%.

I'll continue with this approach to make a full implementation of knop_grid that supports other than database data.


At 23.37 +0200 2009-08-24, Johan Solve wrote:

>This is on the agenda but it's not too easy to do without duplicate functionality, to still be able to use a native records loop for plain records listings. My experiences from using records_array in the database object shows that a native records loop is much faster, but as I think of it now it's possible I've only tried with high level calls to ->field member tags instead of low level array digging.
>I'll make another attempt with this and see if the native records loop can be abandoned altogether for the grid output. That would solve your need since it would open up to use arbitrary arrays as grid datasource.
>
>At 22.50 +0200 2009-08-24, Jolle Carlestam wrote:
>>I'm struggling with collecting records where the result sent from Mysql need adjusting by Lasso before it's usable. Is there someway I can send Lasso crafted data sets into a grid object? Like an array of arrays or something.
>>
>>HDB
>>Jolle
>
>
>--
>     Johan Sölve    [FSA Member, Lasso Partner]
>     Web Application/Lasso/FileMaker Developer
>     MONTANIA SOFTWARE & SOLUTIONS
>http://www.montania.se   mailto:joh-n@...
> (spam-safe email address, replace '-' with 'a')
>
>--
>#############################################################
>This message is sent to you because you are subscribed to
>the mailing list <knop@...>.
>To unsubscribe, E-mail to: <knop-off@...>
>Send administrative queries to  <knop-request@...>
>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
>Project homepage http://montania.se/projects/knop/
>Google Code has the latest downloads at http://code.google.com/p/knop/


--
     Johan Sölve    [FSA Member, Lasso Partner]
     Web Application/Lasso/FileMaker Developer
     MONTANIA SOFTWARE & SOLUTIONS
http://www.montania.se   mailto:joh-n@...
 (spam-safe email address, replace '-' with 'a')

--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <knop@...>.
To unsubscribe, E-mail to: <knop-off@...>
Send administrative queries to  <knop-request@...>
List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/

Re: Sending my own data sets to grid

by Jolle Carlestam-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

26 aug 2009 kl. 23.29 skrev Johan Solve:

> I'll continue with this approach to make a full implementation of  
> knop_grid that supports other than database data.

Whoho!
(As in I like!)

HDB
Jolle

--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <knop@...>.
To unsubscribe, E-mail to: <knop-off@...>
Send administrative queries to  <knop-request@...>
List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/