jQWidgets Forums
Forum Replies Created
-
Author
-
November 13, 2018 at 2:20 pm in reply to: Restrict getrows result to only include displayed columns Restrict getrows result to only include displayed columns #102750
Hi Peter,
Thanks for the extra information. Unfortunately I’m not using the built-in export function (because of the “this is an incorrect file type” message that it creates), so I’m having to do it manually using XLSX.utils.
Thanks,
—
DuncanNovember 13, 2018 at 11:48 am in reply to: Restrict getrows result to only include displayed columns Restrict getrows result to only include displayed columns #102744Hi Peter,
I’ve tried setting the columns’ exportable property to false wherever their hide property is true, but unfortunately it’s still exporting everything.
As for looping through the returned array, I take it I would need to iterate through the columns using getcolumnat, use that to interrogate the hidden property, and then use that to remove columns from a copy of getrows?
In addition, is there a simple way to apply the formatting of each column to my data so that my Excel file will be formatted the same way?
Thanks,
—
DuncanOctober 1, 2018 at 8:39 am in reply to: DropDownList with Select All using Angular DropDownList with Select All using Angular #102202Hi Martin,
Thanks for that example. The problem is that it requires us to actually have “Select All” as an item in our source list, which isn’t always ideal when we’re loading data in from a database, for example. It also means that the “Select All” item appears in the results of getCheckedItems, so I would need to code around that whenever I want a list of checked items.
It’s obviously not that difficult to do, but it’s a bit clumsy, especially when I’m using a load of drop downs on my page. I was hoping there might be a smoother way to achieve it.
Thanks,
—
DuncanSeptember 26, 2018 at 12:05 pm in reply to: DropDownList with Select All using Angular DropDownList with Select All using Angular #102127This is using the checkbox option, obviously!
-
AuthorPosts