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
close icon

Suumary in Grouping columns

Hi,
I have a grid that can be grouped by columns. The sum of the elements of a grouped column can be?.
I attached a picture of what I do.

Other question, can i custom the text in grid??. This texts:
- Drag a column header here to group its column
- No records to display

Thank you

Attachment: SUMMARY_of_GROPUS_8f019d11.zip

9 Replies

JS Jesus Sanchez May 27, 2014 05:43 AM UTC

Hi,
I've seen that in the version 12.1.0.43 can do this that I ask. I'm going to try it, but I have a question: as migrate my App with version 11.3... to ASP.NET mvc classic (v. 12.1.0.43)?, steps have to follow?. How to apply the theme orange for example to my App?

Thank you


SK Shanmugaraja K Syncfusion Team May 27, 2014 12:09 PM UTC

Hi Jesus,

 

Thanks for using Syncfusion Products.

 

Query 1 : Summary in Group Columns.

 

We have created new incident 125528 for this query. Please follow upon this.

 

Query 2 : How to Change default text in Grid?

 

We  would like to let you know that your requirement has been achieved by using Localization. We have an option for changing default text in localization. Please refer the below code snippet .

 

[CSHTML]

 

@(Html.Syncfusion().Grid<textchange.Models.Student>("GenericListGrid")

    .Datasource(Model)

    …..

    .Localize("en-US")

    .EnableGrouping()

    .Column(cols =>

    …..

     )

 

By changing default text in localization resource file to achieve your requirement. Please refer the below sample and screen shot for further reference.

 

Sample : Text_change_with_screenshot.zip

 

Query 3 : What are all the steps for migrate project from 11.3.0.30 into 12.10.43 ?

 

We suggest you to follow the below table to achieve your requirement:

 

We have to change the below assembly version from 11.3 to 12.1 in web.config file and Add the latest assemblies(12.1) in the References.

 

Description: Description: http://help.syncfusion.com/ug/asp.net%20mvc/grid/ImagesExt/image704_82.pngNote: There will be two web.config files. Change also the assembly version under the handlers and httphandlers in the web.config file in the Views folder.

 

Syncfusion.*.Mvc dll version changes:

MVC & .NetFramework Version

Syncfusion.*.Mvc

 

MVC 3 .NetFramework 4.0

 

11.3340.0.30 => 12.1300.0.43

 

MVC 3 .NetFramework 4.5

 

11.3345.0.30 => 12.1300.0.43

 

MVC 4 .NetFramework 4.0

 

11.3440.0.30 => 12.1400.0.43

 

MVC 4 .NetFramework 4.5

 

11.3445.0.30 => 12.1400.0.43

 

Syncfusion.*.Base:

DLL Name

.Net framework 4.0

.Net framework 4.5

 

Syncfusion.Core

 

11.3040.0.30 => 12.1400.0.43

 

11.3045.0.30 => 12.1450.0.43

 

Syncfusion.*.Base

 

11.3040.0.30 => 12.1400.0.43

 

11.3045.0.30 => 12.1450.0.43

 

Query 4 : How to apply theme in the project?

 

We suggest you to use AutoFormat property to apply theme in the project. Please refer the below code snippets.

 

[CSHTML]

 

@(Html.Syncfusion().Grid<textchange.Models.Student>("GenericListGrid")

    .Datasource(Model)

    .Caption("Student Details")

    .EnableFiltering()    /*Filtering Enabled*/

    .EnableSorting()    /*Sorting Enabled*/

    .EnablePaging()    /*Paging Enabled*/

    .AutoFormat(Skins.Office2007Blue)

    …..

     )

 

Please refer the AutoFormat online UG Documentation link.

 

Link : http://help.syncfusion.com/ug/asp.net%20mvc/grid/default.htm#!documents/builtinskinstyles.htm

 

Also, we suggest you to use CustomCSS property for changing theme by customizing. Please refer the below CustomCSS UG Documentation Link.

 

Link : http://help.syncfusion.com/ug/asp.net%20mvc/grid/default.htm#!documents/customizingthegridap.htm

 

Please let us know if you need further assistance.

 

Regards,

Shanmugaraja K



JS Jesus Sanchez May 27, 2014 05:12 PM UTC

Hi,

I'm trying to migrate my App to version 12.4... from 11.3...When I began to develop my example in the version of syncfusion 11.3... use as a reference document

http://help.syncfusion.com/ug/asp.net%20mvc/grid/default.htm#!documents/settingsforessential.htm

My question is: taking as a reference the link you put above, steps have to follow?


The other question, on the theme you are using in the example on the web [http://mvc.syncfusion.com/demos/web/Grid/Default] (orange), as I put it in my App?
I have an example version 12.4... in which by default uses the Blue theme, but I want the Orange

Thanks



Attachment: Document_6d6743f2.zip


JS Jesus Sanchez May 28, 2014 12:28 PM UTC

Can you post me a simple example based on the version 12.1.0.43, they appear a grid and a chart?.
With this example I can see the references/assemblies that use, the Scripts, the changes that I need to do in the web.config... etc.
You mind in this example use the Orange theme you use in the http://mvc.syncfusion.com/demos/web/Grid/Default

Thank you


SK Shanmugaraja K Syncfusion Team May 29, 2014 12:16 PM UTC

Hi Jesus,

 

Thanks for your update.

 

Query 1 :  Refer the UG Documentation link for migrate 11.3 version to 12.1 version.

 

Yes,  you can use the UG Documentation link [http://help.syncfusion.com/ug/asp.net%20mvc/grid/default.htm#!documents/settingsforessential.htm] for migrating 11.3.0.30  version to 12.1.0.43 version but you have to use the assembly version as we have provided in our previous update which is in table format.

 

Query 2 : Simple sample with Grid and Chart in 12.1.0.43 version.

 

We would like to let you know that we have created simple sample using Grid and Chart with 12.1.0.43 version. Please refer the below attached sample for further reference.

 

Query 3 : Apply Orange theme on the Grid.

 

We would like to let you know that your requirement has been achieved by using  CustomCss Property. We suggest you to use Theme Studio for Custom Css and you can edit css properties as your requirement. Use the theme studio link.  

 

Theme Studio : http://mvc.syncfusion.com/themestudio

 

Choose your required style from the Gallery in theme studio, and edit the style as your requirement scenario.

 

Then click download option and check the grid.

 

Provide the necessary style name example Metro. CustomCss property name should be same as the name provided in the download dialog.

 

Then copy the downloaded file to the content folder in your MVCApplication and Add the below code in your application.

 

Please refer the following code snippet to set CustomCss property in view:

 

[Index.cshtml]

@(Html.Syncfusion().Grid<MvcApplication2.Models.Student>("GenericListGrid")

    .CustomCss("Metro")

…..

     )

 

Then you also need to register the stylesheet in _Layout Page, use the downloaded file name. Please refer to the following code snippets.

 

[Layout.cshtml]

 

@(Html.Syncfusion().StyleManager()

        .Register(component =>

            {

                component.Add(ComponentType.Grid);

                component.Add(ComponentType.Chart);

                component.Add("~/Content/Metro-sfgrid.css");

            }))

 

Please refer the below sample for further reference.

 

Please let us know if you need further assistance.

 

Regards,

Shanmugaraja K


Attachment: MvcApplication2_5fd8027b.zip


JS Jesus Sanchez May 29, 2014 07:31 PM UTC

Hello,
Please, help me with the below matter.
- Our confusion was that I'm trying to work with 12.1.0.43 version but what i really would need is you help with this 'ASP.net MVC CLASSIC' product...therefore your reply did not help me
- On the other hand I have another question, I am trying to format a field "Date" (ie; /Date(1401391344159)/) within the Grid but does not work. So I don´t know how should be continuos my Project, please send me your kindlest support
- At last regarding the orange subject asked you in my previusly email, please find attached an example that way you can see that is cyan and I would like to get the color orange, what shall I do?

Thanks in advance for your help!
Best Regards

Attachment: SyncfusionMvcApplication3_5ab74a93.zip


JS Jesus Sanchez June 1, 2014 06:16 AM UTC

Solved point 1!:

Edit web.config and change the entry:
<appSettings>
    ......
    ......
    <add key="UnobtrusiveJavaScriptEnabled" value="false" />
</appSettings>


JS Jesus Sanchez June 1, 2014 06:29 AM UTC

Solved Point 2 (theme Orange)!!!:


-Copy folder flat-saffron within folder Themes

- Edit _Layout.cshtml and change tags in <head></head>

<link rel='nofollow' href="~/Themes/ej.widgets.core.min.css" rel="stylesheet" />

<link rel='nofollow' href="~/Themes/ej.theme.min.css" rel="stylesheet" />

<link rel='nofollow' href="~/Themes/flat-saffron/ej.theme.min.css" rel="styleshet" />

 



SK Shanmugaraja K Syncfusion Team June 2, 2014 07:07 AM UTC

Hi Jesus,

 

Thanks for your update.

 

We are glad to know that your issue has been resolved. We would like to let you know that you are using Asp.Net MVC not Asp.Net MVC (Classic). Please refer the below sample browser link of Asp.Net MVC (Classic) and Asp.net MVC for further reference.

 

Asp.Net MVC (Classic) : http://mvc.syncfusion.com/demos/ui/grid

 

Asp.Net MVC  : http://mvc.syncfusion.com/demos/web/Grid/Default

 

Please let us know if you need further assistance.

 

Regards,

Shanmugaraja K


Loader.
Live Chat Icon For mobile
Up arrow icon