Questions tagged [sectionheader]

101 questions
4
votes
0 answers

UITableView Section Header View Position Changes on Reloading Table

i am using UITableview in my ios Application with the custom add and delete row functionality. i have one headerview for the section and am setting this view with the following. - (UIView *)tableView:(UITableView *)tableView…
BhavikKama
  • 8,566
  • 12
  • 94
  • 164
4
votes
2 answers

Core Data Fetched Results Controller and Custom Section Header

I am familiar with the common and basic use of a NSFetchedResultsController managing the rows of a table, but I have an interesting problem. My data is organized as such: Schedule <--->> Day <--->> Route. I currently have a table view that has…
3
votes
1 answer

How to set the font color in a UITableView's section header?

Is tableView:viewForHeaderInSection: the best way to adjust the font color in a UITableViewCell's header section? I'd like to simply adjust the font color (ideally) without having to define a UIView. I'm especially reluctant to use the above method…
SundayMonday
  • 19,147
  • 29
  • 100
  • 154
3
votes
2 answers

Section header view glitch in plain uitableview

I have a UITableView of type plain table view with two sections and a dynamic number of rows. Also I am returning a UIView for the section header. Everything works perfect except when the table reloads. The section header position moves to a random…
Anand Prem
  • 397
  • 5
  • 15
3
votes
2 answers

Update text in section header (UICollectionReusableView)

How can I update UICollectionView section title? Headers (titles) for sections in my collection view show the total number of items available on each section and I need to update that title when the user has deleted items from the collection. I'm…
Aнгел
  • 1,361
  • 3
  • 17
  • 32
2
votes
2 answers

How to load section header dynamically like cells are loaded

I have a UITableView with a lot of rows and a lot of sections (over 500 sections). Having a lot of rows is not so bad, because only the visible rows are loaded using the dequeueReusableCellWithIdentifier method. The problem is that ALL of the…
2
votes
1 answer

Read the string value of a UITableView Section Title

I want to push the section title of a UITableView to another view controller's section title. But I can't figure out a way to read an existing section title. The existing section title is dynamically constructed and I'd rather reuse it than…
Lauren Quantrell
  • 2,647
  • 6
  • 36
  • 49
2
votes
2 answers

Custom listview section header

I have a list view populated with custom array adapter. I want to add section header to list view items by date which is a value in the object. My Adapter class is public class ReceiptAdapter2 extends BaseAdapter { Context context; LayoutInflater…
Visakh
  • 259
  • 3
  • 15
2
votes
0 answers

.NET applications don't seem to work when a PE code section is writable

I hope someone has an idea on what's happening. Let's say I have a .NET application (with any other application, apparently, there is no such problem). I open the app in a hex editor, search for the code section header and change the…
w1th3r
  • 21
  • 1
2
votes
3 answers

Iphone : How to scroll to the 1st cell of the 2nd section, letting the header of the 1st section visible

I have an UITableView with rows and sections. I would like to scroll to the first item of the second section, letting the header of the first section visible. Like if I had manually scrolled the list until reaching that state. ---- TOP OF SCREEN…
Oliver
  • 23,072
  • 33
  • 138
  • 230
2
votes
3 answers

How to make Section Header in ListView, and Swipe to delete a Item with Undo option

Required: 1.I want to Make a Sectioned Header Listview in Android. 2.That should be Swipe to delete a item, with Undo option like Gmail App.but Gmail App not contains Section Header. 3.My Application should be have Section Header. i tried below…
Kumar
  • 969
  • 2
  • 22
  • 56
2
votes
1 answer

section header in uitableview - reusidentifier?

I have a table with customized headers for the sections. In addition to that, I implemented a collapsing feature, so that when a header is touched, all non-adressed sections are reduced, and the adressed section is expanded. I realized that by using…
Icky
  • 1,055
  • 1
  • 12
  • 30
2
votes
1 answer

React Native sectionHeaderHasChanged: (s1, s2) => s1 !== s2,

There's nothing really in the docs about this so can anyone tell me what this means exactly: sectionHeaderHasChanged: (s1, s2) => s1 !== s2, or this: sectionHeaderHasChanged: (h1, h2) => h1 !== h2, You see it here normally: var ds = new…
Hasen
  • 11,710
  • 23
  • 77
  • 135
2
votes
1 answer

Invalid nib registered for identifier

I'm trying to get a view created in a nib file to be used as a section header in my UITableView. I'm following the 3rd option as described here http://hons82.blogspot.it/2014/05/uitableviewheader-done-right.html But I'm getting this error ***…
Phil
  • 2,995
  • 6
  • 40
  • 67
2
votes
2 answers

Getting strange error when reloading section index?

I am using the iPhone SDK and Objective-C and I get this error message: Assertion failure in -[UITableView _endCellAnimationsWithContext:], /SourceCache/UIKit/UIKit-984.38/UITableView.m:774 2010-01-08 13:24:16.842 MyAPP[628:20b] Terminating app…
Rahul Vyas
  • 28,260
  • 49
  • 182
  • 256