views:

7

answers:

0

i have a table view.i divided it into 1 section.in that section i have 1 row with heading and its related content in the webview below to that row in same section. now i want to print disclosure button on the right side of the row.when i try to do this it is printing on the content of the webview. i get section heading from method "titleForHeaderInSection" method

what to do this?

i use this code

  • (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {

    UITableViewCell *cell = nil;

    static NSString *TDisplayCell_ID = @"DisplayCellID"; cell = [self.tableView dequeueReusableCellWithIdentifier:TDisplayCell_ID];

    if (cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:TDisplayCell_ID] autorelease]; cell.selectionStyle = UITableViewCellSelectionStyleNone; cell.accessoryType=UITableViewCellAccessoryDisclosureIndicator;

    } }

thanks in advance