How to align cell editor vertically center in ExtJS editable grid? - css

I have an editable ExtJS grid, whose 1st row has more height then other rows. The editor is defined for every column based on datatypes. As first row's height is more than the other rows and editor is common, neither I am not able to provide the extra padding on cell-editor in first row only.
As shown here.

Related

How to wrap and stack items in QML, into rows and columns

I have a series of buttons that I want to appear in columns at the bottom of my QML page. The number of columns across should depend on the width of the window, as the window width increases I want more columns to be added. (And fewer rows as a result as components are pulled up to the previous line)
This is sort of like a Flow component, but I want the items to appear in columns, evenly spaced across the page, in rows and columns (columns centered vertically, at the bottom of the page). Sort of like GridLayout.
I can't figure out what QML component(s) to use to achieve this.
I think what you're looking for is a GridView. See the layout documentation.
I'm not positive, but based on your description I think you would just need to set the flow property to GridView.FlowTopToBottom.

JavaFX code to set RIGHT alignment to few Table Columns

I've populated TableView as follow Dynamically.
I want data in last 6 columns to be RIGHT aligned.
How can I set alignment of specific columns dynamically?
Thanks.

Button auto width per content but in steps aligned to page grid

I would like to implement page grid-dependant width buttons so that they have quasi-auto width depending on the content, but with certain width steps so that button width always takes N number of page grid columns. When button content becomes too wide to render button in a single grid column, it would then become 2 columns wide (or even more if required)...
This image shows an example how buttons should be sized according to grid:
First row displays the second button that exceeds single column width (actually it exceeds two columns) and should therefore span 3 columns in the page grid. Second row shows the button correctly sized so it takes 3 full page grid columns.
How can this be done using only CSS (if at all)?
Note: I know this can be accomplished using Javascript, but I'm looking for a CSS-only solution if possible which may use flex, grid or whatever else layout that CSS3 provides.
You can use the CSS3 property auto-fill and auto-fit. See the Below Link
https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-columns

Painting cell outside row bounds

How to paint cell outside its row bounds? I display TextArea in a cell of a table which must have each row of the same height. I need more space, both vertically and horizontally for that cell.
Is it possible to display cell higher than a single row?
We must use fixed height of the row (see TableRowSkinBase.fixedCellSizeEnabled().
We already use modify by copy paste code of the TableRowSkinBase to eventually in the TableRowSkinBase.layoutChildren to set the size of the cell to larger than single cell in both direction. What were able to display cell wider but not heigher? We did it by cell.resize() method.

ExtJS Grid Selection

I am new to extjs 4. In my requirement the users selects a cell in a grid, that cell alone need to highlight. Instead of that the whole row has been highlighted. how to fix this issue?
you have to edit css (of row and cell class when hover event occure) based on selecting cell not row selecting.

Resources