Get KoolPHP UI with 30% OFF!

Position of Insert Button

Michael Meyer
Hi,
can I change the position of the insert button? I have a very long list and have to scroll down to hit the insert button, then scroll up to make the entries. I think I have seen it somewhere but can't find it anymore.
Can you help?
Regards
Michael
Posted Jan 28, 2016 Kool
Anthony Amolochitis
Make use of the javascript for the koolgrid. Put a button anywhere, and call the function from the click event.

http://doc.koolphp.net/Controls/KoolGrid/Javascript/GridTableView/index.php#startInsert

<script type="text/javacript">
	function foo()
	{
		var _mastertable = grid.getMasterTable();
		_mastertable.startInsert();
		grid.commit();
	}
</script>
Posted Jan 29, 2016 Kool