Пример #1
0
        protected async System.Threading.Tasks.Task Splitbutton0Click(RadzenSplitButtonItem args)
        {
            if (args?.Value == "csv")
            {
                await Muse.ExportChartsToCSV(new Query()
                {
                    Filter = $@"{grid0.Query.Filter}", OrderBy = $"{grid0.Query.OrderBy}", Expand = "", Select = "NENDO,GENRE,HYOKA_NUM,KYOKU_NAME,AUTHOR_NAME,HOUR,MINUTE,SECOND,MEMBER,FILE_SIZE"
                }, $"Charts");
            }

            if (args?.Value == "xlsx")
            {
                await Muse.ExportChartsToExcel(new Query()
                {
                    Filter = $@"{grid0.Query.Filter}", OrderBy = $"{grid0.Query.OrderBy}", Expand = "", Select = "NENDO,GENRE,HYOKA_NUM,KYOKU_NAME,AUTHOR_NAME,HOUR,MINUTE,SECOND,MEMBER,FILE_SIZE"
                }, $"Charts");
            }
        }