-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need groupBy in imxweb/projects/qer/src/lib/itshopapprove/approvals-table.component.html #220
Comments
Hi @shahed-swe - looking at the conditional logic on the data-source-toolbar, there are two conditions that need to be met: So by adding the groupBy to the optionset that is one, but the toolbar still needs to know how to group, which why you must provide a groupData property to the dstSettings. For an example, see imxweb/projects/qer/src/lib/identities/identities.component.ts |
let's say I want to sort by identity what do I need to do? |
The relevant code from the example I gave is here. You need to write a function / create an API call to handle what you need to do. If you have all the data locally, then you group it by a column using your own function here.
|
I was investigating on it and saw that we don't have api for groupby. api endpoint is: itshop/approve/request...need to enable group for it. I was trying to do that but couldn't find any solution. can you tell me what can we do? |
I was trying to modify api using DotNet and added that apiBuilder.ModifyQueryMethod("itshop/approve/requests", after compiling I can see the api available in Administrator Portal but compiling the DLL doesn't make any changes in imx-modules by which I can call the api |
Changes on the API which are not only affecting the logic within the apicall, but e.g. the columns that are reponsed or e.g. parameters require that you also re-compile the Client of the API ("imx-api-qer " in your case). |
I need groupBy functionality in this component. I added
groupBy
in imx-data-source-toolbar options. It's not working. I need to show pending request based on Identity. What is the issue here?The text was updated successfully, but these errors were encountered: