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

rows of sections disappear after edit mode ! #231

Open
SalehAlDhobaie opened this issue Jun 28, 2015 · 0 comments
Open

rows of sections disappear after edit mode ! #231

SalehAlDhobaie opened this issue Jun 28, 2015 · 0 comments

Comments

@SalehAlDhobaie
Copy link

Hi Roman ,
I have 5 sections I use it with RETableManager only one can be delete in edit mode and the other can't
the issue is once I enter in edit mode and one or many row from that section and tap done. the rest section rows gone (but the header and footer there ) !

below the deletion handler of row in that section

        titleAndImageItem.deletionHandler = ^(REMealImageItem *item) {
            Meal *meal = item.meal;
            for (Meal * mealItem in self.checkout.meals) {
                if ([mealItem._id isEqualToString:meal._id]) {
                    NSMutableArray *meals = [self.checkout.meals mutableCopy];
                    [meals removeObject:mealItem];
                    self.checkout.meals = meals;
                    break;
                }
            }

if my explanation not clear I can provide some image.

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

1 participant