Skip to Content

Add sap.m.table growing property, when click "more", it will load data cyclicly


I met a problem, when I click "more" button, it'll load table binding data cyclicly.


	<Table id="taskTable" growing="true" growingScrollToLoad="false" growingThreshold="50">
				<Text text="object id"/>
				<Text text="short text"/>
				<Text text=""/>
			<ColumnListItem type="Active">
					<ObjectIdentifier title="{ObjectId}" text="{ObjectId}"/>
					<Text text="{ShortText}"/>
					<Button text="Show task" press="onTaskPress" type="Transparent"/>

binding data in js:

	_updateTaskTable: function() {
		//column list item creation
		var oTemplate = new sap.m.ColumnListItem({
			type: "Active",
			cells: [new sap.m.ObjectIdentifier({
				titile: "{ObjectId}",
				text: "{ObjectId}"
			}), new sap.m.Text({
				text: "{ShortText}"
			}), new sap.m.Button({
				type: "Transparent",
				text: "Show task",
				press: this.onTaskPress
		//current project guid
		var projectGuid = "";
		if (location.hash.split('guid\'')[1] !== undefined) {
			projectGuid = location.hash.split('guid\'')[1].split('\'')[0].replace(/-/g, "").toUpperCase();
		} else {
			projectGuid = "newProject";
			path: '/cip_task',
			template: oTemplate,
			filters: [new sap.ui.model.Filter({
				path: 'LinkedObject',
				operator: 'EQ',
				value1: projectGuid

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 18, 2017 at 05:14 AM

    Solved. It's because backend server didn't send inlinecount(total number of this entityset).

    lv_table_size = lines( et_entityset ).
    es_response_context-inlinecount =  lv_table_size.
    Add comment
    10|10000 characters needed characters exceeded