I am trying to implement the DOJO data gird in my application. On load of the xPages I am getting the current user id in a session scope variable and filtering the REST services that supplies the data grid the data from a view, based on the user id. I have used the "keys" property to filter the values so that the current user should be able to see the values only relevant to him in the grid. This is working fine, but when I try to sort the results once the page is loaded it starts displaying blank values and sort does not work. I have made sure that the columns I require to sort are also made sorted for the back-end view by checking the "Click on column header to sort" option in the view. Still I am unable to get the sorting working for columns. Please let me know if there is a work-around for this problem or am I doing or not doing something for the default sort not to work as expected.
Default sort for Xpages Dojo Data Grid not working on filtered values
487 Views Asked by Nash At
1
There are 1 best solutions below
Related Questions in SORTING
- How to sort a multi-dimensional array by the second array in descending order?
- Ignore #VALUE! error in SORT function
- What is the code of the sorted function?
- Pull out first occurrences from array
- how to keep 10 biggest integer while reading a list in java?
- IQueryable<T> OrderBy<T> Extension Fails with Foreign Key Property
- Anagram test using C++ having compile time error
- How to sort a nested dictionary by the a nested value?
- sort through text file numerically by numbers in column
- Python elegant way to sort numerically named directories
- sorting all data on multiple pages by clicking on its header
- Sort oberservableArray by multiple parameters
- 2D array, sort rows by sum
- sorting RDD elements
- Less beautifier - format code
Related Questions in FILTERING
- SQL query: where array is in array
- Image 2x downsampling with Lanczos filter
- Simple Python Median Filter for time series
- Why doesn't this simple NSPredicate filter my array
- Get Exact Frequency From Digital Signal
- jquery filter chained select options
- Owl Carousel 2: filtering items, but keep the sort order using Javascript
- How to filter NSDictionary by value and create new NSDictionary from that?
- Spark: Filtering out aggregated data?
- Importing excel sheet
- Javascript plugin that mimics Google Sheets sort and filter functionality?
- PHP: What is the best way to create higher level query language to create criteria filter in yii
- Spreadsheet and address: how to filter based on a range
- Wrong column filtering for date column
- DataTable Filtering Issue
Related Questions in XPAGES
- Cannot get iNotes Calendar Data in Xpages
- Xpages hide panel / javascript
- How to refresh modal checkbox withing xpages column
- XPages: I need a full stacktrace
- validate edit box input text length on xPage
- Open mail database in new tab from XPiNC database
- How to get index of repeat control in CSJS
- SSJS or Java generate PDF
- Trying to delete the selected item in the XPages repeat control, but does not work
- How can I refresh the field in CSJS
- Is there any difference for XPages urls using action=openDocument and action=readDocument?
- Best way to handle multi-valued fields as a view/grid
- dominoDocument data source returning null on open on specific XPage
- Xpages display attachment in dialog box from another document
- Two-factor Authentication for IBM Domino XPages
Related Questions in DOJOX.GRID.DATAGRID
- dojox.grid.DataGrid making multi row header
- Javascript or JQuery Function to get All TimeZones to Display in DOJO Combobox?
- How to populdate the dijit.form.ComboBox by calling the URL which will returns JSON data?
- EnhancedGrid not displaying all the rows in Google Chrome
- How to retrieve no of rows after applying filter to dojo enhanced grid?
- Highlight only the last node of a dojo tree using lastFocused method programatically
- gridx with JSONRest - Creating and querying
- Default sort for Xpages Dojo Data Grid not working on filtered values
- Dojo - How can I add checkbox as a column in my DataGrid
- Dojo datagrid with date and time
- How to hide dojox grid selected row dashed borders
- how to refresh datagrid in dojo 1.9 after deleting an item
- Attaching event handlers to elements in a dojox DataGrid store that are not in the DOM yet
- failed to insert combobox in datagrid in dojotoolkit
- How to increase the height of a dojo Enhanced datagrid' s each row when grid div increased
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Nash, I have had similar issues with the blank rows as you describe. I think the blanks lines are rows that don't match the keys. Here are my tips for fixing this. The issue I think is not with your grid but your Rest service.
Make your category filter code similar to mine below. This will ensure that you don't show documents to someone who shouldn't see them. When the category is null, the Rest service will show all documents. This isn't causing the blank lines, but is a best practice IMO.
I hope this helps. My guess is that this will fix your sorting issues as well.