cdotyone / mochaui

development tree for MochaUI
http://mochaui.org/demo/
Other
290 stars 83 forks source link

Cell class in grid (from DataType) #92

Open cleankod opened 13 years ago

cleankod commented 13 years ago

Quote: "numbers should be aligned to right, booleans to center, dates to left ...".

It would be great if each cell had a class (css class), which is taken from column dataType. This should be enough to "align" the stuff and do other nasty CSS things.

What do you think?

cleankod commented 13 years ago

also: in grid (find "el.compare = function(a, b)") there should be "else" without any statement, and it should be terated as string. What do you think? It works for me (custom datatypes)...

cdotyone commented 13 years ago

no issues with this one.