qListView - Grouped Item Style - SharePoint Customization - SharePoint for All - Dell Community

qListView - Grouped Item Style

qListView - Grouped Item Style

This question has been answered by kenny.wu-quest

Hi,

It looks like the Item Style columns is ignored once a column in a qListView becomes the Grouped column.

Is there a way to change the color for the Grouped?  I see Color Appearance will let you, but that could be an infinite number of values to enter.

I just want to change the background color for all.

Thanks,

Trav

Verified Answer
  • Hi Trav,

     

    I have create an enhancement request for the team, the ID is #442194.

     

    Kenny.

All Replies
  • Hi Trav,

     

    I think you could use the external CSS to achieve that. You can use below steps as a workaround:

     

    1. Drag a HTML Form web part into the page.
    2. Edit this web part, click ‘Source Editor’, input below JavaScript:

    <script>

    $telerik.$(function(){

    $telerik.$('.rgGroupHeader').css('background-color', 'red');

    $telerik.$('td.rgGroupCol').css('background-color', 'red');

    });

    </script>

    3. Save it, and hide this web part by clicking the 'Hidden' check box.

     

    After the page refresh, this script will scan the page and find the 'rgGroupHeader' and ‘rgGroupCol’ under the ‘td’ tag, then add the background color style to them. This example is change the background color to red, you can change it to any style according to your case.

    Kenny.

  • Thanks,

    We will take a look at that as an option.

    For a feature request, can Grouped fields just maintain the formatting they were configured with using the Item Style type fields instead of disregarding those fields as soon as the column becomes a Grouped column.

    As always, thank you for the quick response.

    Trav

  • Hi Trav,

     

    I have create an enhancement request for the team, the ID is #442194.

     

    Kenny.