mderie
-
Posts
10 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Posts posted by mderie
-
-
Would be nice !
- 4
-
Well bad news, there is a side effect : this implies that the "selectionchange"
event is no more fired !-( So the Bookmark list is not updated !!!
See :
procedure TBMUniDBGrid.JSEventHandler(AEventName: String;
AParams: TUniStrings);
Still looking for an alternate solution...
-
Found it alone
procedure ConfigGrid; override;
...
procedure TBMUniDBGrid.ConfigGrid;
begin
inherited;
JSConfigObject('selModel', ['selType', 'checkboxmodel', 'checkOnly', 'true']);
end; -
I've a part of the solution thanks to a nice guy on Stack Overflow forum :
http://stackoverflow.com/questions/32134350/extjs-grid-why-the-focused-line-also-selected-it
Indeed, I need to change the default value of checkOnly like in the following ExtJS code, but I'm a bit lost on how to do it
selModel: {
selType: 'checkboxmodel',
checkOnly: true
}, -
Hi (Bresler in particular
Sorry about the language I speak only french and english... No spanish sorry
I'll try to explain a bit more : when the grid receive the "Windows" focus (either by playing
with the mouse either with one or more hit of the TAB key), the grid highlight its first line
which is correct but it also check it which is not a good idea (the user may have to uncheck
it, checks other ones and then ask for an operation on the selected ones)
The dgCheckSelect option is about having the selection checkboxes on the left and is related
wrongly ? to the dgRowSelect one. It means today we can't have the former without the later !!!
What I need today is something like an OnEnter event where I should put this : grid.unselectAll();
But it does not work...
Bye
-
Yet another question !
What are the usage of the two following properties : MultiSelectRows & CheckBoxSelect ?
Those properties belong to the TBMUniDBGrid and are not visible or does not exist in the TUniDBGrid.
It seems redundant with the content of the options (all the dgSomething's)
Thanks
-
Hi,
I'm discovering the TUniDBGrid componenent (actually I used the derived, TBMUniDBGrid because I need the multi selection),
and I have little trouble with the focused line which also check the checkbox on the left of the grid. Which bother me since
it is not meant to be like this.
==> I use the following grid options :
[dgEditing,dgTitles,dgIndicator,dgColumnResize,dgColLines,dgRowLines,dgRowSelect,dgCheckSelect,dgConfirmDelete,dgMultiSelect]
Bye
-
Hi me again !-)
What are the plans for the integration of the multiselection part into the main UniGui grid component ?
Thanks
-
Hi,
It seems that on Delphi XE3 Update 2, samples\the main.dfm reference something like this
...
object clientdata: TClientDataSet
PersistDataPacket.Data = {...
Which doesn't compile
==> Removing it cause the grid having no data...
Bye
Update : just open the main.dfm with your favorite text editor and remove the "PersistDataPacket." part !
Enjoy
Thanks by the way for the component !
DBGrid : how to visually format field content without altering underlying dataset values ?
in General
Posted
Hi,
I wish to enhance the rendering of my dbgrid : applying some visual formatting
without using editor ! Actually the editing options is set to false !
So for instance we deal with national security number and I wish that the shown
values in the grid have the following format : '99-99-9999-999-99'.
Where 9 stands for any number.
I can't use today the StringGrid ! Any other idea ? Thanks
Bye.