This is a set columns manually example. It provide functionality to select specific columns to be displayed in List View. It provide built-in columns those are no and actions. no display sequence number and actions display action buttons. In this example I want to select name column in categories table and built-in columns those are no and actions.

	$Scaffolding= new Scaffolding("categories");
	// Set columns manually
	$columns       = array('no', 'name', 'actions');
	$Scaffolding->setColumns($columns);
	$content= $Scaffolding->render();
	$parameters= array(
		'scaffolding'=>$content
	);
	return view('demo', $parameters);
	
No
Name
Actions
1 Teste
2 Test111
3 test
4 sasasdsadaaa
5 Sarel
6 sadasd
7 rfvddwfw
8 raja
9 qqq
10 Prova
Showing 1 to 10 of 70 entries