Time Sheet Portal Tasks Column not scrolling

Bradley Bush
Mega Sage

Hi,

I'm having an issue where the scrollbar needed to view all tasks is not available for one tab but is for another. I have tried looking through the widget code for column adjustments. Any help would be great, this is needed for users to review tasks before submitting.

timesheet portal1.JPG

Thank You.

 

1 ACCEPTED SOLUTION

Bradley Bush
Mega Sage

Solved it: My colleague found that if you adjust the code for your custom widget, in our case "Time Card Portal Main Container (Custom)" to data.taskSelector = $sp.getWidget('timecard-task-selector-custom', options.task_selector_options);

The ability to scroll through all assigned tasks returns.

if(!input) {
		options.tm_grid_options.tables = options.task_selector_options.tables;
		data.taskSelector = $sp.getWidget('timecard-task-selector-custom', options.task_selector_options);
		//data.taskSelector = $sp.getWidget('timecard-task-selector', options.task_selector_options);
		data.timeBreakdown = $sp.getWidget('timesheet-week-breakdown');
		/* Pass Timecard fields options */
		data.timecardGrid = $sp.getWidget('tc-grid', options.tm_grid_options);
		data.timecardGrid.options = options;
		data.treemap = $sp.getWidget('ts-treemap');
	}

 

View solution in original post

1 REPLY 1

Bradley Bush
Mega Sage

Solved it: My colleague found that if you adjust the code for your custom widget, in our case "Time Card Portal Main Container (Custom)" to data.taskSelector = $sp.getWidget('timecard-task-selector-custom', options.task_selector_options);

The ability to scroll through all assigned tasks returns.

if(!input) {
		options.tm_grid_options.tables = options.task_selector_options.tables;
		data.taskSelector = $sp.getWidget('timecard-task-selector-custom', options.task_selector_options);
		//data.taskSelector = $sp.getWidget('timecard-task-selector', options.task_selector_options);
		data.timeBreakdown = $sp.getWidget('timesheet-week-breakdown');
		/* Pass Timecard fields options */
		data.timecardGrid = $sp.getWidget('tc-grid', options.tm_grid_options);
		data.timecardGrid.options = options;
		data.treemap = $sp.getWidget('ts-treemap');
	}