Qcodo DataGrid

thread: 8 messages  |  last: about 2 years ago  |  started: wednesday, january 20, 2010, 1:29 pm pst


#1  |  anubhav chopra (San Diego,ca) United States of America
Wednesday, January 20, 2010, 1:29 PM PST

I am using the QDataGridColumn to display images pulled from my database.  But I want it to display in a row instead of columns. I tried to use QDataRowStyle but I was not able to implement it.  How can I use the QDataGridColumn to show data in a row instead of a column.

Thank you.

-AC

#2  |  VexedPanda (Calgary, AB) Canada
Wednesday, January 20, 2010, 1:30 PM PST

QDataGrid is only useful for creating a table. If instead you want more control, look at using a QDataRepeater instead, which will allow you to display items in the datasource however you'd like.

#3  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Wednesday, January 20, 2010, 8:44 PM PST

I agree with VP -- you might want to check out http://examples.qcodo.com/examples/datarepeater/ajax.php for a quick primer on QDataGrid...

#4  |  anubhav chopra (San Diego,ca) United States of America
Monday, January 25, 2010, 12:02 PM PST

Thanks Mike and VP, is it possible to give an example, or find an example of QdataRepeater. I was unable to find an example.  
Thank you once again.

-AC

#5  |  anubhav chopra (San Diego,ca) United States of America
Monday, January 25, 2010, 12:15 PM PST

more specifically i am confused on how to define the amount of data entries in a row and in the page.
Thank you!

#6  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Tuesday, January 26, 2010, 5:42 PM PST

Hmm... I'm having a bit of trouble understanding what you're specifically asking for.

Have you took a look at the examples site page in the link I posted above?

It's probably best to start from there.  Looking at something like that, what specific changes are you looking to do to the examples site page for the application/module you're trying to build?

#7  |  anubhav chopra (San Diego,ca) United States of America
Wednesday, January 27, 2010, 2:47 PM PST

Mike,
I did look at the link of the example. I am looking to do the exact thing, except I am not sure how to implement it (very new to qcodo).  In addition, I am also looking to increase the number for rows and columns.  I was wondering if there was a code I can look at for the example provided.

Thank you once again.

#8  |  anubhav chopra (San Diego,ca) United States of America
Wednesday, January 27, 2010, 3:03 PM PST

Mike, I found what I was looking for.  Thank you.



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.