FMX Grid with Checkbox not displaying property - delphi

I have a grid with a CheckColumn connected through livebindings with a query. When i open my query all my data is loaded into grid, but the checkbox do not show. If i click on the grid then the checkbox appears.
Picture when i open my query:
When i click on the grid:

I discovered that using gridItens.Content.Repaint Redraw the checkboxes, for now I'll keep it that way, but I'll take a look at this component #Alberto Miola!

Related

Change the Delphi DbGrid scroll behaviour

I have a TDbGrid linked to a dataset with rows displayed in this grid.
When scrolling on the grid, it moves the selected row of the dataset, which means that if I want to go at the bottom of the grid, it browse every record and the record behind the grid only appears when I am at the bottom of the grid,
The behavior I except is : I want the screen to move but not my record selected ( so the only way to change row would be to click on the row).
Have you got any idea on how to do that?
The behaviour that I except is the same as in the 'Object inspector' of the IDE delphi 10.
This is not possible, the TDBGrid is designed such that it only holds the viewable records in its data buffer. So the selected record must be one in the viewable range. This is to minimize data exchange traffic between the server and the client.

Opening Kendo popup window for adding new records

I have an separate Add button (neither on toolbar, nor on grid) and I want to open a popup window (having some fields) after clicking this button in order to create a new record. I have a look at the Kendo Demo pages, but all the samples use grid's or toolbar's Create button. Instead of them, a need a sample with a separate button. Any sample please?
Update: I want to create a listview as shown below instead of grid:
If you call dataGrid.addRow() method and edit mode is set to "popup", Popup window will be displayed.
Look at this dojo

Delphi XE5 FireMonkey TstringGrid cells don't accept keyboard input

I am using a TStringGrid which is placed on a popup (TPopup). when the user click a button the popup will appear with the stringGrid. user will then insert some data in the cells then clicking an apply button on the popup which will update a data array.
the popup is used as a metro style flyout as per firemonkey sample.
the problem is that the string grid appears put when trying to edit a cell it doesn't accept any input from the key board.
Any idea how to solve this problem. I am using Delphi XE5.

Show different popup menu depending on what column the mouse is over in a Delphi TListView control?

I have a Delphi 6 application that has a TJvListView control. I have a popup menu tied to that control via the control's PopupMenu property. What I would like to do is show a different popup menu based on which column the user had the mouse over when they right clicked, with the additional option to not show a popup menu at all if the current column does not need one. How can I do this?
Thanks to this detailed sample by Remy Lebeau on in-place editing in a TListView I know what row and column the mouse is over except for one wrinkle. The mouse down event where I determine the current row and column occurs after the popup menu is exited.
I now need to know two things. First, how can I get some event to fire before the popup menu shows after a right mouse click so I can record the current list view row and column and suppress the popup menu if I want to, and second, how I can show a different popup based on the current column. I am hoping to avoid having to write a bunch of mini-forms instead of using the TListView PopupMenu property and supporting code. Is there a simple solution, perhaps some fancy footwork in a sub-class I should create around TJvListView?
You could perform the detection in mousemove instead of mousedown/Click and change the popupmenu depending.
You also could remove any popupmenu and call the wished via p.pupup in mousedown as you desire.

listgrid smartgwt select deselect feature

I use SmartGwt Listgrid to show a list of objects, each object contains many subobjects. So when I click on a specific row, I show a popup that allows me to update this subobject's list.
The second constraint is to allow the user to select many rows, to be merged into one row. For that I use checkbox selection type like the following code :
myListGrid.setSelectionType(SelectionStyle.SIMPLE);
myListGrid.setSelectionAppearance(SelectionAppearance.CHECKBOX);
All work perfectly for the first load. The problem is when I show / hide the popup, the select/deselect feature of the Listgrid stops functioning. Once the checkbox is clicked, it remains unchanged.
Thank you for your suggestions.
I answering my own question,
After many hours of investigation, the problem is that I mix listGrid of smartGwt and dialogBog of GWT, when I changed DialogBox with Dialog of smartGwt the problem is solved

Resources