Unable to read edited cell values from table view 'LineEDIT' mode
Need urgent help on Cell binding - Here's what I have:
I have a bsp with one tableview for users to update shelf quantity.
Selection mode is <b>Lineedit</b>. I used this only bcos in this I need not select a row to update it - let me know if this is wrong.
Our users do not like to click on the row to select and edit it! I am not getting the edited values from the tableview.
Although I am using a contoller and view, it's not really an MVC. Can someone please guide me on this?
code in IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS append initial line to p_column_definitions assigning <def>. <def>-columnname = 'SHLQTY'. <def>-title = 'Shelf Qty'. <def>-EDIT = 'X'.
Code in IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START. p_replacement_bee = CL_HTMLB_INPUTFIELD=>FACTORY( id = p_cell_id * type = 'DATE' * showhelp = 'TRUE' * type = 'QUAN' VALUE = val cellvalue = 'TRUE' _VALUE = P_CELL_BINDING )
I do not see anything coming in <b>P_CELL_BINDING</b> .
Tableview in layout
<htmlb:tableView id = "result" design = "STANDARD" headerText = "Header Text" filter = "SERVER" onNavigate = "onMyNavigate" selectionMode = "lineedit" emptyTableText = "No records found!" onRowSelection = "onMyRowSelection" allRowsEditable = "TRUE" selectedRowKeyTable = "<%= rkTab %>" table = "<%= datatab %>" selectedRowIndexTable = "<%= sRTable %>" iterator = "<%= iterator %>" visibleRowCount = "10" > </htmlb:tableView>
I update an internal table Datatab with all the values I require.
Any idea why the cell binding id not working?
Many thanks in advance.