JqxGrid mit EURO (€) Zeichnen
Jump to navigation
Jump to search
Code Sample
Function frmEingabe_onshow() $("#Grid1 .jqx-widget-content").css("font-size","20px"); var localizationobj = {}; localizationobj.currencysymbol = "€"; localizationobj.decimalseparator = ","; localizationobj.thousandsseparator = "."; Rem localizationobj.currencysymbolposition = "after"; Rem DEFAULT -> BEFORE Rem localizationobj.currencysymbolposition = "before"; Rem apply localization. $("#Grid1").jqxGrid("localizestrings", localizationobj); End Function
Result
Mehr Möglichkeiten
var localizationobj = {}; localizationobj.pagergotopagestring = "Page:"; localizationobj.pagershowrowsstring = "angezeigten datensätze"; localizationobj.pagerrangestring = " aus "; localizationobj.pagernextbuttonstring = "kommend"; localizationobj.pagerpreviousbuttonstring = "vorherig"; localizationobj.sortascendingstring = "aufsteigend sortieren"; localizationobj.sortdescendingstring = "absteigend sortieren"; localizationobj.sortremovestring = "entfernen sortierung"; localizationobj.firstDay = 1; localizationobj.percentsymbol = "%"; localizationobj.currencysymbol = "€"; localizationobj.currencysymbolposition = "before"; localizationobj.decimalseparator = "."; localizationobj.thousandsseparator = ","; var days = { // full day names names: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], // abbreviated day names namesAbbr: ["Sonn", "Mon", "Dien", "Mitt", "Donn", "Fre", "Sams"], // shortest day names namesShort: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"] }; localizationobj.days = days; var months = { // full month names (13 months for lunar calendards -- 13th month should be "" if not lunar) names: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], // abbreviated month names namesAbbr: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dez", ""] }; localizationobj.months = months; // apply localization. $("#jqxGrid").jqxGrid('localizestrings', localizationobj);