Remove sorting permission for several columns
[misc/kostenrechnung] / masks / materialien.php
index f3d1b4e..4d2a6a4 100644 (file)
@@ -20,11 +20,12 @@ $mask = array(
                                            'name' => 'Einheit',
                                            'width' => 70,
                                            'sql' => 'einheiten.einheit',
+                                           'specs' => 'canSort: false',
                                            ),
                              'preis' => array(
                                            'name' => 'Preis',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright'",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignright', canSort: false",
                                            'width' => 50,
                                            ),
                              ),