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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Set dataSource

Thread ID:





132365 Aug 28,2017 08:25 PM UTC Aug 31,2017 10:46 AM UTC ASP.NET MVC 3
Tags: Grid
Bernard Jurlina
Asked On August 28, 2017 08:25 PM UTC

I have a grid like this:

and when I set it's datasource from ajax like this:
            cache: false,
            url: src,
            data: { "odDatuma": odDatuma, "doDatuma": doDatuma, "SetID": setID },
            type: "get",
        }).done(function (data) {
        }).fail(function(xhr, status, error) {
            var err = eval("(" + xhr.responseText + ")");

I get filter icon on first two unbound columns like this:

Any ideas how to avoid this?

Prasanna Kumar Viswanathan [Syncfusion]
Replied On August 29, 2017 01:08 PM UTC

Hi Bernard, 

Thanks for contacting Syncfusion support. 

We created a sample in Grid with two unbound columns(columnTemplate, commandColumn) and when we set dataSource through ajaxPost we did not get the filter icons in the unbound columns. So, we unable to reproduce the mentioned issue in our sample.  

Find the screenshots: 

Before set dataSource through ajaxPost. 


After set dataSource:  


To find out the root cause, we need the following details. 

1. Code example of a Grid.  

2. Have you used columnTemplate feature to bind the unbound column in Grid?  

3. Essential Studio Version details.  

4. If possible, replicate the issue in the attached sample.  

Prasanna Kumar N.S.V 

Bernard Jurlina
Replied On August 30, 2017 07:43 PM UTC

Hi Kumar,

and thanks for the tip.
I was using Format option for the unbound columns, and when I changed that to columnTemplate, then it works like a charm.


Prasanna Kumar Viswanathan [Syncfusion]
Replied On August 31, 2017 10:46 AM UTC

Hi Bernard, 

We are happy to hear that the provided solution has been working fine at your end. 

Please let us know if you need any further assistance. 

Prasanna Kumar N.S.V 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon