Friday, January 29, 2016

How to move list paging in top right corner in SharePoint 2013

Add script editor web part and paste the below code to move list paging in top right corner in SharePoint 2013,

<script type="text/javascript">

$(document).ready( function()
{
  var header = $("table.ms-listviewtable");
  var table = $("#bottomPagingCellWPQ3");

    if(header && table)
    {
        table.insertBefore(header);
        $("#bottomPagingCellWPQ3").css('text-align', 'right');
    }
    else
    {
        alert('jQuery did not found Elements.');
    }
});
</script>
<style type="text/css">
td#bottomPagingCellWPQ3{float:right}
</style>



Hope this helps!!!

Populate people picker field with logged in user in SharePoint using JS

Please use below code to populate people picker in SharePoint online, <script src="https://ajax.googleapis.com/ajax/libs/jquery/3....