Deprecated: Function set_magic_quotes_runtime() is deprecated in /var/www/web1643/html/phpBB3/common.php on line 106
[phpBB Debug] PHP Notice: in file /includes/session.php on line 916: Cannot modify header information - headers already sent by (output started at /common.php:106)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 916: Cannot modify header information - headers already sent by (output started at /common.php:106)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 916: Cannot modify header information - headers already sent by (output started at /common.php:106)

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/web1643/html/phpBB3/includes/bbcode.php on line 112
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3526: Cannot modify header information - headers already sent by (output started at /common.php:106)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3528: Cannot modify header information - headers already sent by (output started at /common.php:106)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3529: Cannot modify header information - headers already sent by (output started at /common.php:106)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3530: Cannot modify header information - headers already sent by (output started at /common.php:106)
ppsGrid.de • Thema anzeigen - Sortierung

Sortierung

Hier werden Fragen zur Programmierung des ppsGrids...

Sortierung

Beitragvon mikeem am 07.03.2007, 07:50

Hallo, tut mir leid dass ich heut schon die zweite blöde Frage stelle, aber kann mir jemand sagen wo ich die Sortierfunktionalität finde bzw aktivieren kann? Ich habe testweise ein grid gefüllt und auch die oberste zeile "fixiert" nur was ist jetzt zu tun um die Sortierung möglich zu machen?


Tschüsssss :oops: :(
mikeem
 
Beiträge: 5
Registriert: 07.03.2007, 07:18

Beitragvon torsten am 07.03.2007, 09:27

Hallo, tut mir leid dass ich heut schon die zweite blöde Frage stelle...
Blöde Fragen gibt's nicht (höchstens ein RTFM :-))

..., aber kann mir jemand sagen wo ich die Sortierfunktionalität finde bzw aktivieren kann? Ich habe testweise ein grid gefüllt und auch die oberste zeile "fixiert" nur was ist jetzt zu tun um die Sortierung möglich zu machen?
"Möglich machen" heißt "Bei Klick auf die oberste Zelle soll sortiert werden"? Dann schalte "FixedColType" zusätzlich auf "Sortable":
Code: Alles auswählen
grid.FixedColType |= eFixedColType.Sortable

Möchtest du die Spalten aus dem Programm-Code sortieren, hilft dir die Methode GridCol.Sort(...):
Code: Alles auswählen
grid.Cols[0].Sort(eSortDirection.Ascending)
Weitere Infos in der Hilfe oder hier... :-)

Gruß Torsten
torsten
Site Admin
 
Beiträge: 92
Registriert: 02.05.2006, 09:04
Wohnort: Bremen

Beitragvon mikeem am 07.03.2007, 09:50

Hallo, danke es klappt.


Unter VB schreib ich:
Grid1.FixedColType = ppsGrid.eFixedColType.Moveable Or ppsGrid.eFixedColType.Sizeable Or ppsGrid.eFixedColType.Sortable



P.S. wenn ich es in der Entwurfsansicht ändere, kommt eine Fehlermeldung (ungültiger eigenschaftswert). Genauso wenn ich FixedRowType ändern will. Scheinbar ist mit diesem speziellen Checkbox-Auswahlmenü im eigenschaftsfenster der entwurfsansicht was nicht in ordnung.
mikeem
 
Beiträge: 5
Registriert: 07.03.2007, 07:18

Beitragvon torsten am 07.03.2007, 15:47

Hallo, danke es klappt.
Fein. Freut mich...

Unter VB schreib ich:
Grid1.FixedColType = ppsGrid.eFixedColType.Moveable Or ppsGrid.eFixedColType.Sizeable Or ppsGrid.eFixedColType.Sortable
Ja, so ist es richtig

P.S. wenn ich es in der Entwurfsansicht ändere, kommt eine Fehlermeldung (ungültiger eigenschaftswert). Genauso wenn ich FixedRowType ändern will. Scheinbar ist mit diesem speziellen Checkbox-Auswahlmenü im eigenschaftsfenster der entwurfsansicht was nicht in ordnung.
Werde ich prüfen. Danke für den Hinweis
Torsten
torsten
Site Admin
 
Beiträge: 92
Registriert: 02.05.2006, 09:04
Wohnort: Bremen


Zurück zu Fragen zur Programmierung

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 0 Gäste

cron