on 10-01-2009 4:01 PM
I used iterator to display a column as checkbox. I'm getting checkboxes . When I clicked a check box I'm getting no object found
java script error. Also do handle is not being called even after I set checkbox ONCLICK true in Iterator. Any one had similar issue.
<thtmlb:tableView id = "tv1"
usage = "EDITLIST"
headerText = "Items"
visibleRowCount = "5"
visibleFirstRow = "1"
selectionMode = "MULTILINEEDIT"
table = "//MODEL/table"
iterator = "<%= controller->iterator %>"
allRowsEditable = "FALSE" >
could you share your iterator code (used for generating the check box)
which will help us to analyze this issue further.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Now I'm able to refresh/trigger server event on selecting each check box by using LINEEDIT and setting selected row to "0".
Java script error is still there behind but clearing because of immidiate refresh/Serverside event
*My Iterator is very simple as below.
METHOD if_htmlb_tableview_iterator~render_cell_start.
DATA: lr_checkbox TYPE REF TO cl_htmlb_checkbox,
lr_current TYPE REF TO if_bol_bo_property_access,
attr_name TYPE string,
lv_name_komp TYPE name_komp,
lv_check TYPE char1.
CREATE OBJECT lr_checkbox.
lr_checkbox->id = p_cell_id.
lr_checkbox->disabled = 'FALSE'.
IF p_column_index > 4. " I'm sure the issue is not with index
p_replacement_bee = lr_checkbox.
ENDIF.
ENDMETHOD.
Code added
Hi,
Re check the tablevew tag once ..there is some statment missing....that is why javascript error is triggered
Hope this is help.let me know if you need any more help.
Thanks
kalyan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.