Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PrettyKit Grid View Cell did Select? #29

Open
boss14 opened this issue Aug 17, 2012 · 2 comments
Open

PrettyKit Grid View Cell did Select? #29

boss14 opened this issue Aug 17, 2012 · 2 comments

Comments

@boss14
Copy link

boss14 commented Aug 17, 2012

Hi,

Can you tell me the cell selection in PrettyGridTableViewCell. I need to navigate the page to another page when i click the 1st cell of the PrettyGridTableViewCell. I searched the method but i did find that one. waiting for the reply

Thanks in Advance.

With Regards,

S.SriBharanidharan

@vicpenap
Copy link
Owner

There's a block property, actionBlock, which gets invoked each time a subcell is selected. When you prepare the cell (usually tableView:cellForRowAtIndexPath:), set up the block with the code you need. Take a look at the examples to see that in action.

            gridCell.actionBlock = ^(NSIndexPath *indexPath, int selectedIndex) {
                [gridCell deselectAnimated:YES];
            };                

@boss14
Copy link
Author

boss14 commented Aug 25, 2012

Thank you so much man i'll try this

I tried its solved my issue Thank you admin...;)

On Fri, Aug 17, 2012 at 5:34 PM, Victor Pena [email protected]:

There's a block property, actionBlock, which gets invoked each time a
subcell is selected. When you prepare the cell (usually
tableView:cellForRowAtIndexPath:), set up the block with the code you
need. Take a look at the examples to see that in action.

        gridCell.actionBlock = ^(NSIndexPath *indexPath, int selectedIndex) {
            [gridCell deselectAnimated:YES];
        };


Reply to this email directly or view it on GitHubhttps://github.com//issues/29#issuecomment-7816096.

With Regards,
S.SriBharanidharan
iPhone Application Developer,
Finatel Technology pvt., Ltd.,
Chennai ,
Ph:9790671958

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants