Active Query Builder support area

Sort order in table list

Avatar
  • updated
  • Completed

I am running the the MVC5Demo. In the file:

..\Active Query Builder 2 ASP.NET Examples\Mvc 5\MVC5Demo\Views\Home\Index.cshtml

You can see:
@Html.ActiveQueryBuilder().ObjectTreeView(settings =>
{
settings.SortingType = ObjectsSortingType.Name;
}).GetHtml()

This code appears to be ignored as whatever I do, the list is unsorted.

How do I sort it?

Thank you,

SM

Avatar
Simon

It says I have 3 replies... But there is no text. How do I see them?

Avatar
Andrey Zavyalov, PM

Sorry for this confusion. You have three status changes, but no text messages.

This problem is fixed, the fixed build will be available tomorrow.

Avatar
Simon

Fantastic, thank you.

Avatar
Andrey Zavyalov, PM

The fixed build is available for downloading. Please confirm if the problem is fixed on your side.

Avatar
Simon

I uninstalled 2.10.9 and I installed 2.10.10, but I still have the same issue, unfortunately:

 

 

<div id="qb-ui">    @*TreeView*@
    @Html.ActiveQueryBuilder().ObjectTreeView(settings =>
            {
                settings.SortingType = ObjectsSortingType.Name;
            }).GetHtml()
    <div id="center">
        @*Navigation Bar [CTE | Subqueries]*@
        @Html.ActiveQueryBuilder().SubQueryNavigationBar().GetHtml()
        <div class="qb-ui-canvas-container block-flat">
            @*Main working area*@
            @Html.ActiveQueryBuilder().Canvas().GetHtml()
            @*Expression Grid*@
            @Html.ActiveQueryBuilder().Grid().GetHtml()
            @*Status Bar*@
            @Html.ActiveQueryBuilder().StatusBar().GetHtml()
        </div>
        <div class="clear">
        </div>
    </div>
</div>

Thanks,

SM

Avatar
Andrey Zavyalov, PM

Hello, Simon.

Please check that the AQB assemblies that referred in your project have the same version numbers.

Avatar
Simon

These are the references out of the box:

  • ActiveDatabaseSoftware.ActiveQueryBuilder2: 2.10.5.759
  • ActiveDatabaseSoftware.ActiveQueryBuilder2.Web: 2.10.10.0
  • ActiveDatabaseSoftware.ActiveQueryBuilder2.Web.Control: 2.10.10.0
  • ActiveDatabaseSoftware.ActiveQueryBuilder2.Web.Server: 2.10.10.0
  • ActiveDatabaseSoftware.MSSQLMetadataProvider2: 2.10.5.759



Avatar
Andrey Zavyalov, PM

Thank you for your report. Indeed, the problem doesn't solved in Offline mode. We are fixing this problem now and will let you know when it will be fixed.

Avatar
Andrey Zavyalov, PM

Hello, Simon.

Please try the new version and confirm if the problem is fixed now.

Avatar
Simon

Using 2.10.12 this works now, thank you.