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
493 views Asked by Nash At
1
There are 1 answers
Related Questions in SORTING
- Sorting a List by its property renames all the objects in the List
- Does Sort() method in C# use recursion?
- ARM Assembly code is not executing in Vitis IDE
- Creating an efficent and time-saving algorithm to find difference between greater than and lesser than combination
- Heap sort with multithreading
- Laravel Livewire data table sorting livewire update payload
- basic MergeSort exercise
- How to import a range into a variant array in Excel VBA and sort using the sort method?
- Looker Studio | pivot chart - sorting by metric and last month
- how to create an array of multiples of 5 and display it in reverse
- matplotlib sort barh by values
- Custom Sorting Javascript with A-Z set
- Mainframe Programming Sorting, OUTFIL REMOVECC,NODETAIL
- Soft list based on another list
- SQL query : creating table with distinct values on selected columns
Related Questions in FILTERING
- Filtering a double value
- How the search filter from search bar works in mern?
- How to represent a filter in JSON?
- Functions to filter missing values in SQL and change them to null values
- Namely Api filter for field NOT Equal
- Blazor Radzen filtering and sorting not working/interacting
- How to filter values from showing up in a Looker Studio Time Series Chart
- Change filter binding mode in Blazor Bootstrap Grid (https://demos.blazorbootstrap.com/grid)
- Is there any way to remove log.syslog.structured_data field in logscale/kibana
- Filter data table based on a search term with variations
- Clarification on the concept of using a separable filter vs. without a separable filter
- Display only the current user logged in records in the index view in ASP.NET Core MVC?
- jqxGrid not able to cutomize derived column filters using "addfilter" function
- Filtering algorithm working on one machine but not on other
- Filtering Angular 17
Related Questions in XPAGES
- Custom Control - How to get compositeData in onClientLoad
- XPages - delay before second button click takes place
- XPages - At automatic Logout set ReasonType in $$LoginUserForm
- xPages HowTo handle incoming FORM POST punchOutOrderMessage (POOM)
- xpages: after appearance I need to press a button 2 times before action executes
- Error cleaning up agent threads using okhttp3 in HCL Domino agent
- Time out to Website using xpage in HCL Notes
- Different java.protocol.handler.pkgs settings in Domino causing error in XPages java
- Why does Xpages app throw java.lang.NoClassDefFoundError at seemingly random intervals?
- Thread is not enabled for auto GC
- bootstrap5 dropdown full width
- How to delete selected documents in search result xpages
- bootstrap & xpages v.12
- Partial refresh in XPages/JSF not available in Cypress
- getFirstDocument() returns 'null' for a collection which getCount() says has 8 items
Related Questions in DOJOX.GRID.DATAGRID
- dojo tree grid loading only 25 rows
- dojox.grid.DataGrid sort order bug on mixed case strings?
- XHR get response javascript not being executed
- Why is my page not rendering EnhancedGrid
- facing error while creating custom widget in Dojo, could not identify the reason for the error
- how to edit the Dojo Grid Data
- How to clone a dojo (TypeScript) project from codesandbox to my server?
- Not able to set input file in IE 11
- how to implement pagination in dojox.datagrid
- loading dijit calendar on click of dijit icon button with specific dates disabled
- dojo Datagrid filter select that allows user to select from a list of values in the column
- DoJo Enhanced grid updating constraints dynamically is not working
- reset OnDemandGrid dGrid after applying query
- dojo toolkit - Enhanced Grid - can we have cell border?
- How to use Dojo dgrid in jsp table?
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?
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)
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.