cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with selectionMode = "MULTILINEEDIT" in tableView iterator.

former_member184111
Active Contributor
0 Kudos

Hi All,

Below mentioned is the code of a tableview..

<htmlb:tableView id              = "<%= gv_tv_id %>"
                             headerText      = "Items in your shopping cart"
                             headerVisible   = "true"
                             design          = "alternating"
                             visibleRowCount = "6"
                             fillUpEmptyRows = "true"
                             selectionMode   = "MULTILINEEDIT"
                             filter          = "SERVER"
                             width           = "950"
                             onRowSelection  = "myrowselection"
                             table           = "<%= it_item_final %>" >
              <htmlb:tableViewColumns>
                <htmlb:tableViewColumn columnName = "ORDERED_PROD"
                                       title      = "<center>Material Number</center>"
                                       width      = "90" >
                </htmlb:tableViewColumn>
                <htmlb:tableViewColumn columnName = "DESCRIPTION"
                                       title      = "<center>Decsription</center>"
                                       width      = "240"
                                       wrapping   = "true" >
                </htmlb:tableViewColumn>
                <htmlb:tableViewColumn columnName = "QUANTITY"
                                       title      = "<center>Ordered Quantity</center>"
                                       width      = "90" >
                </htmlb:tableViewColumn>
<htmlb:tableViewColumn columnName = "UNIT"
                                       title      = "<center>Unit</center>"
                                       width      = "80" >
                </htmlb:tableViewColumn>
                <htmlb:tableViewColumn columnName = "CF_QUANTITY"
                                       title      = "<center>Confirmed Quantity</center>"
                                       width      = "90" >
                </htmlb:tableViewColumn>
 </htmlb:tableViewColumns>
            </htmlb:tableView>

Now the problem with above code is that when i use selectionMode = "LINEEDIT" everything works fine but if i change selectionMode = "MULTILINEEDIT" the tableView behaves strangely...

Suppose there are two records in the tableview , i choose record one so it becomes editable ,

as soon as i choose record two the first record gets deselected and second record remains deselected .

What can be the reason?

Thanks & Regards,

Anubhav

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184111
Active Contributor
0 Kudos

Sorry for the post..

was using <b>cl_htmlb_manager=>check_tableview_all_rows</b>

in row selection event.

Thanks,

Anubhav