neuhausi / canvasXpress

CanvasXpress: A JavaScript Library for Data Analytics with Full Audit Trail Capabilities.
http://www.canvasXpress.org
290 stars 44 forks source link

Filtering checkboxes #172

Closed alin-png closed 1 month ago

alin-png commented 1 month ago

Hi Isaac,

I wonder why checkboxes are available in the filtering view for some columns and not for others. For example in the image below:

image

I can select multiple 'type's using the checkboxes but I cannot do the same for the 'target's. The variables are declared the same way and I notice when I replace data.x.target with the data for data.x.type, the checkboxes are made available. Could this be because there are too many options available? Thanks!

neuhausi commented 1 month ago

It is based on the number of entries. It there are more than I believe ten it becomes a selection widget. Should I change this?

Get Outlook for iOShttps://aka.ms/o0ukef


From: Angela @.> Sent: Monday, September 16, 2024 3:30:18 AM To: neuhausi/canvasXpress @.> Cc: Subscribed @.***> Subject: [neuhausi/canvasXpress] Filtering checkboxes (Issue #172)

Hi Isaac,

I wonder why checkboxes are available in the filtering view for some columns and not for others. For example in the image below: image.png (view on web)https://github.com/user-attachments/assets/1f8449a6-79e0-4294-bb9e-37968d0f4331

I can select multiple 'type's using the checkboxes but I cannot do the same for the 'target's. The variables are declared the same way and I notice when I replace data.x.target with the data for data.x.type, the checkboxes are made available. Could this be because there are too many options available? Thanks!

— Reply to this email directly, view it on GitHubhttps://github.com/neuhausi/canvasXpress/issues/172, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAB6HS37ZPSG57FD5SICCLLZW2CIVAVCNFSM6AAAAABOIWAHWOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZDONZRGQZDCNQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>

alin-png commented 1 month ago

Thank you for your reply @neuhausi , it would be wonderful to be able to have the checkboxes available no matter the number of entries and also have the search bar that the selection widget uses too (so a user can select different options by searching up the name instead of scrolling through all the options available). However, I am conscious of other users of CanvasXpress, if you change this and it impacts their experience? what do you think? thank you :)

neuhausi commented 1 month ago

I will create a parameter so users can decide 😀

Isaac Neuhaus PhD.

On Mon, Sep 16, 2024 at 8:03 AM Angela @.***> wrote:

Thank you for your reply @neuhausi https://github.com/neuhausi , it would be wonderful to be able to have the checkboxes available no matter the number of entries and also have the search bar that the selection widget uses too (so a user can select different options by searching up the name instead of scrolling through all the options available). However, I am conscious of other users of CanvasXpress, if you change this and it impacts their experience? what do you think? thank you :)

— Reply to this email directly, view it on GitHub https://github.com/neuhausi/canvasXpress/issues/172#issuecomment-2352723758, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB6HS3ARM3CLIUPPEYYNB3ZW3CI7AVCNFSM6AAAAABOIWAHWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJSG4ZDGNZVHA . You are receiving this because you were mentioned.Message ID: @.***>