Giter Site home page Giter Site logo

jackkwok / jkexpandtableview Goto Github PK

View Code? Open in Web Editor NEW
139.0 139.0 45.0 777 KB

Expandable Nested Table View for iOS (iPhone & iPad). JKExpandTableView is a subclass of UITableView.

Home Page: http://jackkwok.github.io/JKExpandTableView

License: MIT License

Objective-C 100.00%

jkexpandtableview's People

Contributors

jackkwok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jkexpandtableview's Issues

Select only one parent at a time

Hi,

First of all, great work with JKExpandTable! ๐Ÿ‘

I've used it in my project - but i want to be able to select multiple child-Indexes of one parentCell only at a time. If i try to select child-Indexes belonging to different parentCells, it should show a warning message, and deselect the current selection.

Currently i'm able to show the warning message and do deselection of parentCell by making a call to the following method from the didSelectCellAtChildIndex:(NSInteger) childIndex withInParentCellIndex:(NSInteger) parentIndex method.

This is the call that I make : -

[self.expandTableView didSelectRowAtChildIndex:childIndex selected:NO underParentIndex:parentIndex];

But this deselects the parentCell only - the childCell remains selected, and on selecting it again, it then successfully removes the tick mark for the childIndex.

Please help me out - I would like both the child and parentCell to be deselected if i try selecting a child of a parentCell other than the already selected ParentCell. Any ideas?

Change child title color

Hello,

i want to change color when child is selected of child label color which is child selected.

Recursive nesting

Hello,
first of all, congratulations for your very useful work!
Do you think it should be a lot of work to introduce Recursive nesting as additional feature?

How to hide check mark?

Hello guys,
I have a problem to hide the black checkmark on child cells. Everytime I select a child item, it puts a black checkmark on the right of the cell. How can I turn that off? I finally fixed it by commenting out the following line in JKSubTableViewCell.m:
cell.selectionIndicatorImg.image = [self selectionIndicatorImgOrDefault];

Is there another better way to do that than the hackish way I did? I rather don't touch the JKExpandTableView project source.

Table Cell overflow the Frame

Hello ,

The table does not fit the frame that i have chosen instead it is overflows the Frame Please help !!!!

bug

Please find the Below image how it should look like : I used
JKExpandable* tbkJkTable = [tbkJkTable initWithFrame:CGRectMake(0, 10, 280 , 50) style:UITableViewStylePlain];
But due to this i can only update the Frame and the Tableview didselect row is not performed . Scroll is working and the reusing existing JKParentTableViewCell is called perfectly . DataSource is also bound into the Table perfectly.

original 2

Table overflows and hides the Searchbar
bug2

Original Image
orginal

Custom Cell

Hello Jack!
Thank you for you great class! ;D

How can I setup a custom TableViewCell using JKExpandTableView?
Which class do I have to use as super class? JKParentTableViewCell and JKSubTableViewCell?

Thank you,
Bruno

Reloading data doesn't behave correctly

Hello my friend,

You nice expandable tableview works well for static data array. However, when my array changes (mutable), I trigger [tableview reloadData]; which doesn't call numberOfParentCells and so it has the outdated number of rows, which results in crashes because of outbound exception. I don't have much time, so could you fix that, as you're familiar with the code.

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.