Dhtmlxgrid groupBy title displayed

I have the following dhtmlxgrid setup with data

<?xml version="1.0" encoding="utf-8"?>          
	<rows>
		<head>
			<column type="coro" id="activity_type" width="80" xmlcontent="true" sort="str">Type
				<option value="call">Call</option>
				<option value="task">Task</option>
				<option value="appointment">Appointment</option>
			</column>
			<column type="dhxCalendar" id="start_date" width="80" sort="date">Date</column>
			<column type="txt" id="summary" width="*" sort="str">Summary</column>
			<column type="coro" id="owner_id" width="75" xmlcontent="true" sort="str">Owner
				<option value="42">Michael ConVery</option>
				<option value="43">Michael Nguyen</option>
			</column>
			<column type="ch" id="completed" width="80" align="center" sort="int">Complete</column>
		</head>
		<row id="15">
			<cell>call</cell>
			<cell>2011-04-22</cell>
			<cell>call Shaw Cable</cell>
			<cell title="Michael Nguyen">43</cell>
			<cell>0</cell>
		</row>                  
		<row id="16">
			<cell>task</cell>
			<cell>2011-04-17</cell>
			<cell>order pizza</cell>
			<cell title="Michael Nguyen">43</cell>
			<cell>0</cell>
		</row>       
    </rows>

this is my groupBy code

myGrid.groupBy(3);

The problem I have is GroupBy displays the id (for example 43 - instead of the name “Michael nguyen”. Is there a way to enforce dhtmlxgrid to use the name ?

You need to add a customGroupFormat function to your code before groupBy method

mygrid.customGroupFormat=function(text,count,b,c){ var title=mygrid.getCombo(3).get(text); return title; };

sweet, i got it working. Thanks so much