I am using an ASPxPivotGrid to display order data in an aspx website. When I put a column in the "filter area" that has a date value, it displays a checked list of dates to choose from (see below). Is there a setting or workaround to get it to show a date-range or calendar popup to filter by?
ASPxPivotGrid provides the Prefilter object which can be used to filter the grid contents by complex criterion.
Related
I'm working with an XPages named "HISTORY" gathering and grouping all the documents in a database (.nsf)
I want to create a filter that shows me only documents created between two dates "start date" and "End Date"
I worked with data grid but loading of view was very long and heavy
I do not know how to do. Any suggestion?
and thank you.
Use full text search to get a fast access to documents created between two dates.
Set search property of selected REST service to e.g.:
"[_CreationDate] >= 01/01/2015 and [_CreationDate] < 01/01/2016"
[_CreationDate] is the place holder for document's creation date in full text search queries.
The same applies for dominoView data sources in case you want to use view panel or data table instead of data grid.
In infopath, I have a choice box that gives a choice of values from a secondary data source that is filtered.
How can I make the control hide if there is nothing matching the filter?
You can you use the count function to set a field to the value of the count of the filter, then hide the control if that field reads 0.
I am using QDateEdit widget to get the user selected date from the calender (popup). However, I want to allow the user to pick dates from a list of specific dates (highlighted on the calender) and not just any date. I see that using setMinimumDate and setMaximumDate the dates outside the the specified range gets grayed out and hence cannot be selected -- this is exactly what I want but not for a range but for a list of specific dates.
Any ideas?
Subclass QCalendarWidget and use QDateTimeEdit::setCalendarWidget to set it as the widget to be used for the calendar pop-up.
I have an asp.net gridview in which I am showing a column of date, the date itself is coming from a sql database table, I have used sorting in that grid and it works perfectly when I click on date column but I want some kind of grouping based on date, like depicted below:
Default gridview look when sorted
21/07/2011
21/07/2011
25/07/2011
25/07/2011
27/07/2011
27/07/2011
What I want is:
21/07/2011
21/07/2011
25/07/2011
25/07/2011
27/07/2011
27/07/2011
I want some kind of separator or blank row that separate groups based on dates, this way data will be more clearly visible. How can I achieve this ?
Thanks
read this article, it shows how you can override Render event to create group header based on your sorting column.
The ListView has grouping like this out of the box.
I need to create a donor summary report that provides total donations by donor by year.
I need to provide
name address email yr1total yr2total etc...
It looks like salesforce only allows two columns in row headings and two columns in column headings. Is there a way to work around this
Or, is there a way to use the tabular report to do the same?
TIA
If donations is a single field on the donor's record, it seems like what you're looking to do is attempt to display two columns for the same data within a report. The best way to do this (well, outside of creating a master-detail relationship with a new custom object named "Donations") would to have formula fields for each of the donation years, and calculate the donation sums in each of them. That is, as long as you have a way of calculating the year of the donation.
I believe to get the best answer, more information is needed.
Something like this? This will work if your donation is a separate object that's linked to Account (I've used Tasks & Events linked to Accounts in my example).
Create a report in "Matrix format".
Drop Account Name on the left pane, Donation's Date on the columns.
Columns will default to days. Click the dropdown in the place where I have "Created Date" and select summarizing by year (of course fine-tune to whatever you need).
Check date ranges / filter criteria etc obviously if you don't see all data.
Click Show -> Hide details.
Drop your "Donation Amount" or similar field into place where "Record Count" is displayed. Use "Sum".
Optionally deselect Show -> Record Count.
Now you're mentioning that there are only 2 columns so you probably already tried this. Well, common trick is to cheat by using a formula field that would hold your data (separated by comma maybe?). Tabular report would require you to create some helper fields (1 per year) on Account and do some kind of rollup summaries, messy.
If it's for a dashboard you could play with summary report (it can have more groups than 2) and pick chart type table on the dashboard...