KKGridView icon indicating copy to clipboard operation
KKGridView copied to clipboard

Horizontal mode?

Open keichan34 opened this issue 13 years ago • 8 comments

Is it possible to add a horizontal mode as well (left-to-right / right-to-left)? I can imagine some cases in which this would be really useful if it had a vertical and horizontal mode..

keichan34 avatar Sep 20 '11 09:09 keichan34

I am also interested in an horizontal mode.

I may start hacking the code to add support for this. Do you have any ideas on how implement this API-wise ? I think its important to keep the API clean and simple — even if supporting horizontal mode will add some complexity.

kemenaran avatar Sep 26 '11 08:09 kemenaran

Our current GridView implementation uses a GridLayoutOrientation property which can be set by using enum values GridLayoutVertical and GridLayoutHorizontal. Making sure the default is GridLayoutVertical ensures that everyone that isn't interested in a horizontal layout won't be confused and everyone that is interested can make it happen by calling a single setter.

Would this be a simple enough solution?

SpacyRicochet avatar Oct 17 '11 12:10 SpacyRicochet

I think that sounds pretty good... Is there an option for left-to-right or right-to-left as well?

keichan34 avatar Oct 20 '11 06:10 keichan34

Just to clarify, I'm not talking about an implementation of KKGridView, just our own code which accomplishes the same. I was just suggesting a way for the API of KKGridView to be kept simple.

SpacyRicochet avatar Oct 20 '11 08:10 SpacyRicochet

Yes, I definitely wanted to add this. Will definitely be pursuing it personally once I'm done with the main implementation.

kolinkrewinkel avatar Oct 25 '11 04:10 kolinkrewinkel

I'm also interested in vertical scrolling. If not implemented here, could anyone recommend another grid view that does support that? (AQGridView supports that but it's buggy)

rantav avatar Nov 09 '11 09:11 rantav

I think we've got vertical scrolling down already ;)

SpacyRicochet avatar Nov 09 '11 09:11 SpacyRicochet

oh yeah, of course I meant that I need Horizontal scrolling of course...

rantav avatar Nov 09 '11 09:11 rantav