Hi All,
I have created a table view which is being displayed as an Assignment block in an over view page.
I have sucessfully shown it in UI over view page as an assignment block.
I placed a button called INSERT .
So When I click on insert button new row should be editable where as other entries should be non-editable.
But I am able to make whole view editable or non editable which is in correct.
Can any one please guide me how to achieve my requirement.
Example: IF I have 2 entries(A,B) already in Assignment block and if i click on Insert Button A and B should be non-editable and teh newly creating row shoudl be editable.
I done following steps:
My HTM page contains below code.
<chtmlb:configTable id = "Exemption"
navigationMode = "BYPAGE"
onRowSelection = "select"
usage = "ASSINGMENTBLOCK"
selectedRowIndex = "<%= MembershipDescriptor->SELECTED_INDEX %>"
selectedRowIndexTable = "<%= MembershipDescriptor->SELECTION_TAB %>"
selectionMode = "<%= MembershipDescriptor->selection_mode %>"
headerVisible = "FALSE"
table = "//MembershipDescriptor/Table"
displayMode = "<%= controller->view_group_context->is_view_in_display_mode( controller ). %>"
visibleRowCount = "10"
downloadToExcel = "FALSE"
personalizable = "FALSE"
allRowsEditable = "TRUE"
width = "100%"
visibleFirstRow = "<%= MembershipDescriptor->visible_first_row_index %>"
xml = "<%= controller->configuration_descr->get_config_data( ) %>" />
And in DO_PREPARE OUT PUT iam making VIEW_GROUP_CONTEXT->SET_EDITABLE( ).
and in on Insert event handler iam creating a realted entity.
Please let me know if iam wrong.
NOTE: this Relation is a custom BOL object, I am not sure whether it mnakes any difference in WEBUI Display.