Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Get data from input cell of Table View

Hello!

I have inputs (TableColumnType.INPUT) in my Table.

How can I Get data from input cell of Table View when some event trigger (my SaveButton)?

replied

Hi,

You can use the following code to retrieve the inputfield value from tableview

firstrow=table.getVisibleFirstRow(),

lastrow_model=table.getVisibleLastRow()

context = this.getPageContext();

for (int i = firstrow; i <= lastrow_model; i++)

{

loopcount = loopcount + 1;

AbstractDataType plannedStartDateADT = context.getDataForComponentId("tableid", "inputfieldid", loopcount);

}

Thanks,

Padmaja

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question