on 03-29-2007 4:25 PM
Hi
How can v disable particular rows in table view.....
thanks in advance...........
If your issue is resolved, please reward & close the thread..
Raja T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use following java scrpit as well:
<script type-"text/javascript">
sTableId = tvName; //tableview name
str_row = sapUrMapi_SapTable_getRow(sTableId, i);
str_row.firstChild.firstChild.disabled = "true";
</script>
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you using iterator? If so you can disable based on the condition in interator method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_ROW_START
Raja T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, i mean to say in IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START
You can do something similar as follows:
If your_condition is successful.
v_disable = 'true'
else.
v_disable = 'false'
endif.
CASE p_column_index.
WHEN 'your_column'.
CREATE OBJECT COL2_INPUTFIELD.
COL2_INPUTFIELD->ID = P_CELL_ID.
COL2_INPUTFIELD->maxlenght = '20'.
COL2_INPUTFIELD->disabled = v_disable.
P_REPLACEMENT_BEE = COL2_INPUTFIELD.
<i>* Reward each useful answer</i>
Raja T
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.