jQWidgets Forums

jQuery UI Widgets Forums Grid Group by cell formating

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 11 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Group by cell formating #32062

    DiegoUnanue
    Participant

    Hello I’ve got this code:

    <div class="volaxe" data-bind="with: $root.reportsFilterLeagueTableEngine">
    
    	<div id='jqxWidget' data-bind="if: $root.isIndustrySelected() == false" class="smtxt" style="text-align: center; color: orange">
    
    	    <div  data-bind="jqxGrid: {
    	width: 810,
    	height: 475,
    	source: reportData,
    	pageable: false,
    	autoheight: false,
    	editable: false,
    	selectionmode: 'singlerow',
    	theme: 'custom',
    
    	columns: [
    		{ text: 'Sector', dataField: 'Sector', width: 250 },
    		{ text: 'Firm', dataField: 'Firm', width: 300, cellsalign: 'left' }
    
    	],
    
    }" id="jqxgrid" >
    		</div>
    
    Which generates this:
    
    Sector --- Firm
    ----------------
    A           Vol
    A           Sell
    B           Toder
    
    How can I format the Sector to get something like this:
    A-----------Vol
    ------------Sell
    B-----------Toder
    
    (Consider '-' a black space)
    
    The Sector it's shown only once if it's repeated
    Group by cell formating #32079

    Peter Stoev
    Keymaster

    Hi DiegoUnanue,

    To customize cells rendering, please look at: http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxgrid/jquery-grid-cellsrendering.htm

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.