Jump to content


am2

Member Since 15 Jul 2008
Offline Last Active Aug 06 2010 11:05 AM
-----

Topics I've Started

MultiSelect without SelectFullRow

05 October 2008 - 03:02 PM

Hi Boki,

Is it possible for a user to select multiple cells when SelectFullRow is disabled? I've enabled MultiSelect and disabled SelectFullRow but I still can't select multiple cells.

Thank you.

ComboBoxColumn, input line

28 July 2008 - 03:04 PM

Hello Boki,

How can I select an item inside the input line of a ComboBoxColumn if I know the index of that item? (I need something like combobox.itemindex := myindex)?

Best regards

font size

20 July 2008 - 07:24 PM

Hello Boki,

It seems, that the NextGrid component doesn't change its size according to the font size. Please, check the example program.

Best regards

NxComboBoxColumn, NxListColumn

18 July 2008 - 03:58 PM

Hello Boki,

The scrollbox doesn't appear inside the drop down list when I open it using ComboBox or List column. Do you intend to add unicode support for these column types too?

input as filter

16 July 2008 - 09:37 PM

Hello Boki,

I'm trying to use the input line for filtering through the OnEdit event handler:

...OnEdit(Sender: TObject; ACol,
ARow: Integer; Value: WideString);
var grid: TNextGrid;
s: WideString;
i: Integer;
visible: Boolean;
begin
if ARow>=0 then exit;
grid := (Sender as TNextGrid);
grid.BeginUpdate;
for i := 0 to grid.RowCount - 1 do begin
s := WideUpperCase(Value);
visible := (s = '') or (WidePos(s, WideUpperCase(grid.Cells[0, i])) > 0);
grid.RowVisible[i] := visible;
end;
grid.EndUpdate;
end;

This works almost well, I've got only one problem: when I press a key - the very first time - inside the input line, this code does the filtering but it selects the text inside the inputline too (I gues the RowVisible is responsible for this) - is there any workaround?