AG GRID HEADER COLUMN NOT ACCESSIBLE FOR SORTING - ag-grid-angular

The ag grid table header is clickable by mouse but it is not accessible by tab.
Tabbing into the grid is enabled.

Related

CSS non sibling event hack to trigger dynamic content display / uncheck

I have a website that displays content based on items checked in a menu list. If the screen width gets too small the menu is rotated and hidden. Additionally, a burger button is displayed. If the burger button gets activated (checkbox as well), the menu is unhidden and the content is hidden.
Neither the content nor the menu have access to the checkbox behind the burger button, because they are children of a sibling of the burger button.
As a result, if a menu item was checked, the burger button is not unchecked, and the visitor needs to click on the burger button again to close the menu and see the content.
Somehow I need to find a hack to uncheck the burger button, if a different menu item was selected, or if a menu item was clicked.
JavaScript is not required yet and shall never be used.
I hope someone knows a hack to fix this - I am clueless in this case...
Thank you for your numerous comments.
The answer is quite simple: CSS3 can't do what I tried to achieve. There was no trick at all to get this done, not even involving the :target pseudo-class, because CSS can't manipulate and reset the URL anchor, neither can it untick the checkbox. That caused the menu staying visible after selecting the content as mentioned above.
As a result, I have rewritten the whole website (well, not the content to be precise).
There is a theoretically simple solution: Using sibling radio buttons for all controls.
This means:
I have one radio button for the burger menu. It accesses the following (sibling) <div> element with the adjacent sibling combinator (+) and toggles the burger menu on and off. (Which results in a changed visibility property.)
I have multiple radio buttons for the content. Succeeded by their respective content div analogously to (1.).
I have multiple labels all over the place that address these radio buttons by using their for attribute. Fortunately, the for attribute has multiplicity 1:n, so that it was possible to address the content <div>s by both, the <nav>-bar, displayed for high resolution devices, as well as the burger menu, displayed on low resolution devices on click on the burger button which is not visible for high resolution displays.
So as a result, I don't do any menu transformations, but have just duplicated the <label>s for these toggles and display either the <nav> bar or the burger button.
Downsides:
I lost the ability to keep the style of the <label>s for the currently active content changed while this content is displayed, since these <label> elements are not siblings of their corresponding checkbox/radio anymore, but on :hover there is an effect.
It is not possible to have the burger menu displayed leaving the current content displayed as well in the background. Both are and need to be in the same radio button group, which means that the burger menu is displayed instead of other content until a label is clicked in the burger menu.
Why am I even doing this (Benefits):
From my perspective, running scripts on a visitors machine is like highjacking their compute power on their device in their sphere and by forcing them to activate JavaScript or other stuff, exposing them to serious risks that could be avoided. So as a result, I consider the unnecessary use of JavaScript as an unethical act.
With this hiding technique of the content I am able to transfer all the content to the visitor a single time and allow for a perfect experience once the content is loaded.

Panel In Syncfusion

Is there any way can we create panel in syncfusion, which can be expandable and collapsible? I wish to give name to the panel, and add related controls to inside the panel.
We have Sidebar component that typically acts as a side container to place primary or secondary content alongside the main content. By clicking a hamburger menu icon, you can expand or collapse the sidebar. The component can also allow any type of HTML content or component to be placed in the Sidebar, like menus, lists, and tree views, etc.,
To know more about Sidebar component, refer the below links.
Demo : https://ej2.syncfusion.com/aspnetcore/Sidebar/DefaultFunctionalities#/fluent
Documentation : https://ej2.syncfusion.com/aspnetcore/documentation/sidebar/getting-started
The Dashboard Layout component provides the capability to arrange, resize, and reorder the panels within the layout. The Dashboard Layout is a layout component which can be used to render custom components like Grid, Chart, etc., You can also interact with the panels, to perform operations like resizing or moving the panels. But it can’t be able to do the expand and collapse functions.
To know more about Dashboard Layout component, refer the below links.
Demo : https://ej2.syncfusion.com/aspnetcore/DashboardLayout/DefaultFunctionalities#/fluent
Documentation : https://ej2.syncfusion.com/aspnetcore/documentation/dashboard-layout/getting-started
Also, we have an Accordion component with the support of expand and collapse functions. It’s a vertically collapsible content panel that displays content, one or multiple at a time, within the available space. Click on the header element to expand or collapse the corresponding Accordion panel to display its content.
To know more about Accordion Layout component, refer the below links.
Demo : https://ej2.syncfusion.com/aspnetcore/Accordion/DefaultFunctionalities#/fluent
Documentation : https://ej2.syncfusion.com/aspnetcore/documentation/accordion/getting-started#add-aspnet-core-accordion-control
Kindly check whether any of the above shared component suits your requirement.

In sematic UI the tab is not being responsive

I have been designing using semantic UI but the problem i face is in using tabular menu. The square block at the side in the menu is not changing when i select another menu item .It is still remaining at the home page while the content in the segment changes. Have a view at the documentation. Image-Though i have clicked meal planner the square block denoting the menu item remain at home

twitter-bootstrap too wide navbar

I'm working on a website and I'm using the bootstrap framework.
I have a navbar setup, pretty "original" but I have too many items on the navbar. Therefor I have 2 lines of navbar-items.
What I want is that the navbar sets as many items on 1 line and if there is not enough width to set them all that it show an dropdown with "more" and that the remaining items are under the "dropdown".
First, I suggest if you really have so many items in a navigation, you probably need a vertical nav menu instead of horizontal navbar.
Then, If you really want what you described, you can't do it with bootstrap out of box, you need write your own "dynamic" dropdown by yourself.
What you can do is listen to window.resize event,
detect the responsive navbar width and calculate how many items in the tail should be put into a dropdown list. Then do that in javascript.

Integrate overflowed links into a dynamic dropdown menu at the end of the list of menu

How should I create a horizontal list of links such that overflowed links are still available through a dynamic dropdown menu at the end of the list?
I want to be able to create an list of links (or buttons) such that when there is enough horizontal space all links are shown. When there is not enough horizontal space the overflowed links will appear in a drop down menu at the end of the link list. I am using Flex SDK 4.5.1.
This desired behavior is shown below.
After experimenting with creating a multi-part custom component, using a custom layout and fairly extensive but not successful research on the internet I have not come any closer to a workable solution.
How should I create a horizontal list of links such that overflowed links are available through a dropdown list at the end of the main list
After a lot research, reading, and many prototypes, I worked through a solution that functions well enough for this specific scenario; albeit, the coupling between components and skins is a bit higher than I would have liked.
I created a custom component based on the spark BorderContainer. The component layout is roughly:
-- BorderContainer
-- Scroller
-- Group
-- DataGroup
-- Button
-- PopUpAnchor
-- Group
-- Rect
-- DataGroup
The first DataGroup contains the primary list of items. These are the ones that are displayed horizontally. By overriding updateDisplayList in the custom component I can measure each item in the DataGroup and determine whether or not it will fit in the available area. Those that do not fit are made invisible (not removed) and added to a do not show list.
Those items in the do not show list are added to the second DataGroup. This is the drop down list. Wrapping up this DataGroup in a PopUpAnchor allows me to add drop down menu like behavior. The Button is used to pop up and close the second DataGroup.
calculate the visible width plus the scrollable width
divide the scrollable width by the width of each link plus the separator to decide how many items to move
pop the hidden items from the list dataProvider to remove the scrollbar
and push them to the popupMenu dataProvider