Is there a way to disable group selection via dragging while keeping shift+click group selection? I'm aware of canvas.selection = false;, but that seems to disable both kinds of group selection. I looked through previous questions but couldn't find one that addressed this. Thanks for any suggestions!
Related
I want to be able to check multiples option buttons, and the only way I found for doing this is using group boxes. But these boxes aren’t invisible. Is there then a way to have it work as if there was group boxes around each group of buttons ? Or is there a way to make group boxes become invisible? I hope my question I clear enough for anybody to help me
Check the property GroupName
when you set the same name the checkboxes or optinbuttons you can control the behaviour as you need
I hope be useful
Good Luck
Please see attached screenshot as I think this will help show better. I have an SSRS report, in that one column can have the same value across many rows. For this report, you can see Site column has a value of "JAC-FL". How can I "merge" this so it only appears once (See screen shot of "Excel Layout" as I know how to do this in Excel). For the life of me, I cannot seem to get this.
I already have a rowgroup defined for the data (see Row Group screenshot) (Please note, there is data for Username, but I removed it so it wouldn't appear in the screen shot).
Site = lvl_2_value, UMFullName = User Name, stream_3_Stream = Stream
I cannot seem to get my Site (I plan on doing this to the other columns as well, but thought if I get the first to work, I can do it to the others) to appear like the Excel layout. Would anyone be able to help?
You'll want to split out the rows into child groups, instead of grouping on all of them at once. Take a look at the bottom left of your first screenshot, you can see the "row groups" section there.
If all you see in that box is a line that says "(Details)", then you will need to start by right-clicking that and adding a parent group. Then you can add a child to that parent, and so on, going from most inclusive to least inclusive. So for example, if we were working with locations, we could do something like Country > State/Province > City).
example
It may be easiest to start a new tablix (keep your old tablix until you're done though so you can copy and paste expressions and get the formatting right again!), as things tend to get shifted around when you add groups to an existing tablix.
I've got a custom control based on a Datagrid. What I want to achieve is doing multiple selection of rows and then right click on the row selector to open a context menu.
What actually happens: Selection of multiple rows works fine until the user right clicks on the row selector. Once that is done, there is only one selected row the one over which the right mouse button was clicked.
What I need to happen: Allow the user to do a multiple selection (rows have a style for selection) and right click to open the context menu without loosing the previous selection.
What do I need to do?
No it doesn't happen like that at all. Make sure that you have DataGridView MultiSelect property set to TRUE. Then assign your ContextMenustrip control to the datagrid's ContextMenuStrip property.
That should do the work and multiple selection should remain on right mouse click as well unless in your code behind somewhere you are altering that.
In which case, you will have to debug and find out where and how.
Just revisited the code and found that I was not updating the SelectedItems IList:
Dispatcher.BeginInvoke(new Action(delegate
{
foreach (var item in e.RemovedItems)
{
SelectedItems.Add(item);
}
SelectedItemsList.Add(SelectedItem);
}), System.Windows.Threading.DispatcherPriority.ContextIdle, null);
Im using a Radgrid. I have a Textbox that is disabled, but I would like to enable it when any row is selected in the Radgrid.
Please try with the below link. I have already given the answer for same.
http://www.telerik.com/community/forums/aspnet-ajax/grid/how-to-enable-a-control-after-a-row-is-selected-in-radgrid.aspx#2645690
Let me know if any concern.
i'm new to infopath and need to ammend an existing infopath 2010 form. The users only want certain section groups to appear based on the users choice via checkboxes. Currently there are conditional rules in place for each group on the form which are working to hide/show the sections depending on whcih checkbox or checkboxes are selected.(each checkbox relates to a group). There are 19 checkboxes and related groups, the users can select 1 or more groups.
The problem is when users tick the checkbox , there is a delayed reaction seeing as there are so many condtional checks taking place on each click.The users dont like this. they would rather selct all the checkboxes they want , and then click a button to do all the work at once(instead of on each checkbox). So i've been trying to programmatically access the groups from the code behind the buttons to hide/show them depending on which checkboxes are selected. Is it even possible to set the hide/show property of a group in the code behind ?
Thanks in advance for any help
You can't show or hide sections directly with code, but you can affect data sources, which in turn can trigger rules.
See here for updating the data source programatically:
http://www.bizsupportonline.net/browserforms/programmatically-enable-disable-control-infopath-form.htm