× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
Diksha.kushwah(*) reported 2015-04-29T11:10:50Z  · tomconrad last modified 2018-03-15T21:00:30Z

clearsorting() method is not working.


PM
Priority Low
Complexity Unknown
Component Open API - Data
Version Future
Version: 17.0.0-dev-18
Build #: 43680
Build Date: 2015-Apr-22 06:02:48 PM
 
Operating Environment: Windows 7 (6.1, amd64) / Cp1252 / en / US / Oracle Corporation 1.8.0_40-b26
Memory: Max=704,643,072;  Total=275,251,200;  Free=94,970,544;  CPUs=8
 
References:
 
Package: com.aquafold.openapi.data
Interface: AQDataSet
Method : clearSorting()
 
Steps to reproduce:
 
Open attached clearsort.xjs file in ADS and Execute the script
 
OR
 
Execute the following script: 
 
var dataSet = generateDataSet();
aqua.console.println("Printing Data Set:\n" + dataSet.renderText());
 
dataSet.setSortingAscending(0);
dataSet.sort();
aqua.console.println("Printing Data Set after sorting column 0:\n" + dataSet.renderText());
 
dataSet.clearSorting();
 
aqua.console.println("Printing Data Set after calling clear():\n" + dataSet.renderText());
 
 
//------------------------------------------------------------------------------
function generateDataSet(){
 
    var ds = aqua.data.newDataSet(["shipcountry","freight","id"]);
    ds.addRowWithValues("Asdfdsf","10000", "100001");
    ds.addRowWithValues("ssdsfgfs","100","100002");
    ds.addRowWithValues("msdsad","100000", "100003");
    ds.addRowWithValues("gwee","10000", "100004");
    return ds;
}
 
Actual Result: sorting does not cleared after using clearsorting()
 
Expected Result: clearsorting() method should work for applied sorting.
 
2 attachments

Issue #13283

New
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017