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 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 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
[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 - GridCell - Spalten- und Zeilenindex bestimmen

GridCell - Spalten- und Zeilenindex bestimmen

Hier werden Fragen zur Programmierung des ppsGrids...

GridCell - Spalten- und Zeilenindex bestimmen

Beitragvon eoe am 27.08.2009, 13:33

Hi Torsten,

und gleich noch ein weiteres Thema. Ich würde gerne über eine Zelle die Spalten- und Zeileninformation bestimmen. Gibt es dazu bei dir eine Funktion? Wenn ich mir die GridCell Klasse anschaue, finde ich nichts, was einen derartigen Rückschluss erlaubt. Derzeit bestimme ich mir deshalb die Zelle mit einem Griddurchlauf.

Grüße

Erik
eoe
 
Beiträge: 38
Registriert: 17.04.2007, 15:02
Wohnort: Oedheim

Re: GridCell - Spalten- und Zeilenindex bestimmen

Beitragvon torsten am 27.08.2009, 15:57

Hallo Erik
Mhhh, du meinst, wie man über GridCell an den Spalten- bzw. Zeilenindex kommt?
Bisher nur intern, am Sonntag will ich dann die Eigenschaft "Index" für beide freigeben...
Gruß Torsten
torsten
Site Admin
 
Beiträge: 92
Registriert: 02.05.2006, 09:04
Wohnort: Bremen

Re: GridCell - Spalten- und Zeilenindex bestimmen

Beitragvon eoe am 28.08.2009, 07:28

Hi Torsten,

ja, ich meinte die Indizes. War nur wenig verquer geschrieben :D

Erik
eoe
 
Beiträge: 38
Registriert: 17.04.2007, 15:02
Wohnort: Oedheim

Re: GridCell - Spalten- und Zeilenindex bestimmen

Beitragvon torsten am 30.08.2009, 18:31

Hallo Erik
Habe deinen Wunsch erfüllt. Allerdings nicht als Index, sondern
als Verweis auf GridCol bzw. GridRow:

Code: Alles auswählen
GridCell cell=grid[1,2];
  ...cell.Row.Index
  ...cell.Column.Font....
  ..usw.

Der direkte Zugriff auf GridCol bzw. GridRow ist etwas flexibler :-)
Ansonsten wie immer:
Beta wie immer unter 'http://www.ppsGrid.de/download/ppsGrid_beta.dll'
Gruß Torsten
PS.: Ein Kommentar, ob alles wie gewünscht funktioniert, wäre nicht schlecht.
torsten
Site Admin
 
Beiträge: 92
Registriert: 02.05.2006, 09:04
Wohnort: Bremen

Re: GridCell - Spalten- und Zeilenindex bestimmen

Beitragvon eoe am 04.09.2009, 13:43

Hi Torsten,

aus meiner Sicht ist die Funktion in Ordnung.

Danke und Gruß

Erik
eoe
 
Beiträge: 38
Registriert: 17.04.2007, 15:02
Wohnort: Oedheim


Zurück zu Fragen zur Programmierung

Wer ist online?

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

cron