I have some problems with a couple of listboxes in a powerapps app. There is an app with 4-5 pages and forms for collecting info. Most works fine but I cant get the selected info in the listbox to work. Im guessing its simple but.. please help.
Update = Listbox.SelectedItems - I want something like this.. but either Im only getting one selected value or error message.. Tried some different like Text() - SelectedItemsText osv osv.. cant fint the right one I guess.
Thnx.
I finally seems to have found what I was looking for..
Left(Concat(DataCardValue3.SelectedItemsText.Value; Concatenate(Text(Value); ", ")); Len(Concat(DataCardValue3.SelectedItemsText.Value; Concatenate(Text(Value); ""))) - 1)
Thnx!
Related
Im having trouble passing multiple parameters to my drill though report using an url.
I have got a single one working however when i try to add the next one it doesn't like what i have put.
="http://rpt.Test.local/ReportServer/Pages/ReportViewer.aspx?%2f%5bQuote+Tool%5d%2fChange%20Elec%20Split&PC="&Parameters!PC.Value
Above is the working one parameter and im now trying to add
MTC = Parameters!MTC.Value.
Just think im imputting wrong.
Cheers
Try this one.. almost there but just a small tweek:
="http://rpt.Test.local/ReportServer/Pages/ReportViewer.aspx?%2f%5bQuote+Tool%5d%2fChange%20Elec%20Split&"&PC=" &Parameters!PC.Value &"&MTC=" & Parameters!MTC.Value & "&rs:Command=Render"
I've been stuck on this problem for a while now. I have a ListView that's filled via a RESTclient etc. i get categories from the server that go from 0 to 15 and i want to rename the 0 to Test. I know this is easely solvable by just changing it server side but i want to try and fix this on client side so i learn more about delphi.
The problem mostly is getting the specific value out of an event. i can get the value from OnAssigningValue but its all dumped in variable and i have 2 .Text values linked to the listview so i can't go that way either.
i can't find any solution across the interwebs, any help would be appriciated
My problem seems simple. But have not been able to solve till now. Any help would be appreciated.
I have a listgrid showing certain records from a datasource. One of the fields is a many to one. When I try to edit any record, I get a dropdown with all the possible values that the record can have. All fine thus far. The issue is that all the dropdown values are displayed as simple text. I wish them to be displayed as shown in this link.
The requirement is to have "A SelectItem with icons" on the listgrid.
Regards
Use ListGridField.setEditorType() to customize the editor shown for a field. This API takes a FormItem, so pass a SelectItem configured similarly to the sample you linked to.
I have encountered this problem a lot of times on the internet, but didn't find a good way to fix this.
What I want is to print a report from the ReportViewer control, and if it has been printed, I need to change some stuff in the database (like the user that printed, what time the reports has been printed).
Now I used the reportViewer.PrintDialog() method (which prints fine) but I can't figure out a way to learn if the user actually printed the document, or cancelled the PrintDialog box.
I also tried the System.Windows.Controls.PrintDialog() which does return a DialogResult, but I couldn't find a way to set the reportViewer's report as the PrintDocument's source.
Has anyone of you found a way to do it?
Thanks in advance, and more info/code can be provided if asked.
Oh
If it's C#
Dialog boxes return a value of type DialogResult
so something like
if (System.Windows.Controls.PrintDialog().ShowDialog() == DialogResult.OK)
{
// Mark item as Prionted by User U
}
In VB.NET, try the following:
If reportViewer.PrintDialog() = Windows.Forms.DialogResult.OK Then
'Put your stuff here
End If
The auto_complete_for dealio from script.aculo.us is great an all, but is there a way for me to selectively disable the fact that it always auto-selects the first item in the list?
The problem is that, if I want to type my own entry that is new, and novel, I don't want the first item in the list to be auto-selected. The reason is because when I TAB out of the field, it selects, and fills the text box with that first item.
I got around that, somewhat, by making the first item in the list the same as what I'm typing, but that's not perfect either, because the auto_complete list doesn't always update with every keystroke, depending on how fast I type. I've tried setting the list refresh rate to the lowest value (1 millisecond) but no go.
What I really want is an option in "auto_complete_for" that doesn't select that first item at all - the same way that Google Instant doesn't automatically select the first suggested search phrase - you have to arrow-down to select one.
Maybe I can do this via an HTML option that I'm missing?
Looking at the source, there doesn't appear to be an option for that, but I bet if you changed line 284 of controls.js to this.index = -1; it would do what you want.
Otherwise, it might be time to look for a different autocomplete widget.
If your requirements are too far away from the available plugin, then I guess there is no point in tinkering around. Its best to write your own JS code.
You might want to consider this: https://github.com/laktek/jQuery-Smart-Auto-Complete
or this : https://github.com/reinh/jquery-autocomplete
I'll add another alternative that works great with Rails 3:
http://github.com/crowdint/rails3-jquery-autocomplete
I recently implemented auto complete for more than a field for Rails 2.0.2.
The plugin I used is:- https://github.com/david-kerins/auto_complete . Not sure if it supports Rails 3.
I have also encountered issues on implementing the above scenario and have posted questions( Implementing auto complete for more than one field in Rails ; Implementing a OnClick kind of functionality and formatting wrt Rails Partial-Views ) on stackoverflow for the same, I have been lucky on getting things working for me based on my requirement.
Kindly refer to these questions, they might have relevance to your requirement.