Hello Team,
I have created a Custom Assignment Block for Product using below code:
<chtmlb:tableExtension tableId = "<%= CUSTOM_CLASS=>ENTITY_TABLE %>"
layout = "FIXED" >
<chtmlb:configTable id = "<%= CUSTOM_CLASS=>ENTITY_TABLE %>"
onRowSelection = "SELECT"
table = "//VIEW/TABLE"
width = "100%"
headerVisible = "FALSE"
displayMode = "FALSE"
allRowsEditable = "<%= VIEW->GV_EDIT %>"
selectionMode = "NONE"
personalizable = "FALSE"
downloadToExcel = "FALSE"
noHeader = "TRUE"
iterator = "<%= VIEW->GR_ITERATOR %>"
visibleRowCount = "<%= VIEW->GET_TABLE_SIZE( ) %>"
xml = "<%= LV_XML %>" />
</chtmlb:tableExtension>
I have created dynamic columns using CUSTOM_CLASS->IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS.
Now when I search Products on WebUI and open one Product the Assignment Block is Editable.
When I come back and switch to another Product I can see that the data in Assignment Block is correctly fetched.
However, the Custom Assignment Block is not editable.
I go back again and switch to previous Product for that Product the Assignment Block is Editable but when I switch to any other Product it is Disabled.
Can you please help me what could be the issue here?
Thanks & Regards,
Rohan