Questions tagged [grouped-table]
78 questions
32
votes
2 answers
Arrange a grouped_df by group variable not working
I have a data.frame that contains client names, years, and several revenue numbers from each year.
df <- data.frame(client = rep(c("Client A","Client B", "Client C"),3),
year = rep(c(2014,2013,2012), each=3),
rev…

TBT8
- 766
- 1
- 6
- 10
18
votes
1 answer
Frame of viewForHeaderInSection is always the same size
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
{
if(section != 0) {
UIView *view = [[[UIView alloc] initWithFrame:CGRectMake(10, 10, 100, 30)] autorelease];
view.backgroundColor = [UIColor…

gabac
- 2,062
- 6
- 21
- 30
14
votes
7 answers
iPhone : form like new contact
I have some questions about the Apple iPhone Contact App. I want to use the same methode to create and modify information.
Here's two pics :
alt text http://grab.by/4ZjQ
alt text http://grab.by/4ZjR
So we have the creation and the edition. The…

Pierre
- 10,593
- 5
- 50
- 80
9
votes
1 answer
Change table view ( tableview style grouped ) background color?
I am developing an iPad application in which I need a table view ( style grouped ) having background color as clearColor.
My problem is
[self.tableView setBackgroundColor:[UIColor clearColor]];
works well if the table view style is plain but when…

Madhup Singh Yadav
- 8,110
- 7
- 51
- 84
9
votes
1 answer
different height of section header in grouped tableview
got a default grouped style table like left screenshot in below, but it looks having different height of section header, the top first is 69 px measured, while those rest are 40 px.
Why? Are they supposed to be same height, aren't they?
So I'd like…

S1U
- 825
- 2
- 14
- 26
7
votes
1 answer
Programmatically Create Grouped UITableView
I have a UITableViewController that currently displays 4 cells that will always be displayed and would like to group them together however I can't figure out how. The resources I have found only give instructions using Interface Builder when a…

user3185748
- 2,478
- 8
- 27
- 43
6
votes
3 answers
R: Compute a rolling sum on irregular time series grouped by id variables with time-based window
I love R but some problems are just plain hard.
The challenge is to find the first instance of a rolling sum that is less than 30 in an irregular time series having a time-based window greater than or equal to 6 hours. I have a sample of the series…

Dave M
- 131
- 1
- 3
5
votes
1 answer
To display Headerview with image and labels in the viewcontroller
I am new to iPhone development. I have created one view controller and I used grouped table view. Now I want to display the header view in my viewcontroller with image and labels. Please guide me and help me out in this problem.
Thanks.

Pugalmuni
- 9,350
- 8
- 56
- 97
4
votes
2 answers
[iPhone]How to customize header of Section in grouped TableView?
To customize cell, we implement class inherit UITableViewCell. Now, to customize header of Section in grouped UITableView (same to below picture), how to do? Please guide to me!

hungbm06
- 1,549
- 6
- 24
- 32
3
votes
2 answers
R Dplyr: How do I add columns from an ungrouped dataframe to a grouped dataframe and retain the grouping?
I have a main data frame (data) that contains information about purchases: names, year, city, and a few other variables:
Name Year City
N1 2018 NY
N2 2019 SF
N2 2018 SF
N1 2010 NY
N3 2020 AA
I used new_data <- data %>% group by(Name) %>%…

questionmark
- 335
- 1
- 13
3
votes
1 answer
Pandas get median/average of pre-aggregated data
Assuming my data is already grouped how can I calculate median and other statistics?
Index Value Count
0 6 2
1 2 3
2 9 8
In the example above I want to get the median/average etc of column Value taking into account…

Martin Tomczak
- 33
- 2
3
votes
2 answers
Rename column in grouped tibble by row value (dplyr)
How can I rename a column within a grouped dplyr tibble, depending on a certain row value? The following graphic shows how my tibble looks before and how it should be looking after the manipulation.
I have tried the following code, but did not…

nilsole
- 1,663
- 2
- 12
- 28
3
votes
1 answer
Swift grouped UITableView best practices
I'm setting up the settings page of my first Swift app and can't seem to find a clean way to set up the master-detail relationship between the settings view and a child table view of options.
My settings page is a UITableViewController with a…

Luke Patton
- 63
- 1
- 8
2
votes
4 answers
How do I push grouped tables down in the view on the Iphone?
Below shows the default position when you add a grouped table to a view? How do I push the entire grouped table down in the view?
(source: pessoal.org)

CodingWithoutComments
- 35,598
- 21
- 73
- 86
2
votes
1 answer
Add UISegmentedControl in table cell programmatically with clear background
I have grouped table view. I want to add UISegmentedControl in table cell with clear background so that it will be displayed as FOOTER . How can I do this? I tried using clearColor. But it's not working.

iOSAppDev
- 2,755
- 4
- 39
- 77