We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Header Text in OlapGrid

Hi,

Can I change the column header text in OlapGrid?

I have try this:

$(function () {
 $("#OlapGrid").ejOlapGrid({
  url: "/wcf/KPIService.svc",
  columns: [
   { field: "measure name 1", title: "FIELD1" },
   { field: "measure name 2", title: "FIELD2" }
  ]
 });
});

but it doesn't work.


1 Reply

TM Tamilarasu M Syncfusion Team May 7, 2014 08:54 AM UTC

Hi Massimo,

                The OlapReport are designed at the service-end and hence the “columns” object are not applicable at client-end as you have framed. Meanwhile please find a sample  illustrating on how to alter the measure name in OlapGrid for your convenience.

 Let us know if you have any further concerns.

Thanks,

Tamilarasu.M


Attachment: olapGrid1_4fbd2353.zip

Loader.
Live Chat Icon For mobile
Up arrow icon