How to set CheckBox in CListCtrl to be unavailable? - mfc

CListCtrl sets the CheckBox property, how to make the CheckBox of a row unavailable (cannot: check or uncheck)?

Related

Oracle APEX 18.2, column filter for Popup LOV columns in Interactive Grid

I'm on Oracle APEX18.2
I have an Interactive Grid where two columns are Popup LOV based. The return value of these is text.
However I'm not able to have the column filtering feature work for these columns in the interactive grid.
When I click on the column header of these columns the filter drop down comes up empty. Even the Inetractive grid search-box doesn't search these columns. I cannot see the filter options in the attributes of these columns in the developer. I can see it for the other columns in the grid.
Is this a bug? Is there a way to have the search work for these columns?
As not much details listed here, I can see below possibilities :
return_value and display_value are not marked correctly in your LOVs causing empty list
You will also need to have default value in case you want preloaded data
Ensure you have cascading LOV parent item for 2nd LOV popup to populate data dynamically. ->
Do the following steps in your Apex Page Designer
Click on the Modal LOV column in the IG.
In the Attributes of the column search for Column Filter
Column Filter -> LOV Type => Use List of Values.
Image showing where to enable column filter
Note: If you have filled the Cascading LOV Parent Column(s) property in List of Values Section then the Column filter will be hidden because the LOV has a parent column and so apex will not be able to filter the column (Oracle Support Ticket Link)

Drag and drop items in combobox

How can I drag and drop items in combobox to change their order? (https://learn.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.combobox?view=winrt-19041)
How can I drag and drop items in combobox to change their order?
I'm afraid you can't implement this feature, because Combobox use ItemsPresenter to display items, but ItemsPresenter does not contains reorder feature. If you want to change items order, there only way is that change the data source's order.

Reposition foundation dropdown on parent div scrolling

I have a lot of dropdowns in a table using foundation, the table shows a scrollbar for a large number of rows. Each row has a column with a dropdown link, which reveals the foundation dropdown menu. If the menu is open and user scrolls, the menu stays open in the absolute position but does not stick to the dropdown link.
This probably happens because I needed to seperate the dropdown link and the hidden dropdown menu list. They are seperated only in structure because the dropdown links are in a jquery sortable table and then the opened dropdowns were having wrong positions (edge of page, etc). So now the hidden dropdown lists somewhere outside the table since they are connected with #ID to the actual links
Is there a way to reposition the openeded dropdown menu with it's link?

QTableView force one cell selection

I want the user to be able to select only one cell at time. How can I set the maximum possible selection of cells of a QTableView to 1 (c++) ?
Set selectionMode to SingleSelection and set selectionBehavior to SelectItems
tableView->setSelectionMode(QAbstractItemView::SingleSelection);
tableView->setSelectionBehavior(QAbstractItemView::SelectItems);

Productname on inventoryValueReport

I am new to AX2012 and need to add product names to the InventoryValueReport in ax2012. I am trying to use a checkbox on the setup form but I'm just not sure at how to code the method to display the names on the report when the box is checked. Can anyone assist me?
If the ssrs report layout will support it you can set the visibility of a column based on an expression based on the added parameter.
Steps:
( How do I set the visibility of a text box in SSRS using an expression? )
In this example, the report has a dataset named Items and has textbox to show row counts. It also has another textbox which will be visible only if the dataset Items has rows.
Right-click on the textbox that should be visible/hidden based on an expression and select Text Box Properties.... Refer screenshot #1.
On the Text Box Properties dialog, click on Visibility from the left section. Refer screenshot #2.
Select Show or hide based on an epxression.
Click on the expression button fx.