Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Business Data List Webpart - Remove sorting options

$
0
0

I have a Business Data List webpart displayed in SharePoint (SharePoint online). The data that comes into SharePoint is formatted as general, so the sorting doesn't work. It sorts based on the 'edit view' settings of the webpart. When a user hovers over the column header, a sort icon appears. I am trying to figure out how to remove it. This is the code as is:

<thalign="left"class="ms-vh">   
   
<tableclass="ms-unselectedtitle"onmouseover="OnMouseOverAdHocFilter(this,'Department @Department text;1033 ctl00$ctl44$g_0dcb5164_792f_4ef1_89d3_ad99b7013ea6')"cellspacing="0"ctxnum="1">

I have tried to hide elements with CSS but haven't been able to isolate the correct one. If the link to sort remains, that isn't a big deal as it doesn't actually function. I'm looking to remove the onmouseover completely if possible from the header row. JavaScript or JQuery is OK.

Any help is appreciated. It seems like something that Microsoft would have as an option within the webpart settings.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>