Questions tagged [cellrenderer]

145 questions
0
votes
1 answer

Getting Error #1009 with CellRenderers

I've been getting... User exception thrown: TypeError: Error #1009: Cannot access a property or method of a null object reference. at fl.controls::CheckBox/drawLayout() at fl.controls::LabelButton/draw() at…
Jason King
  • 649
  • 7
  • 13
0
votes
1 answer

Angular Ag-grid cellRendererFramework - Modification in Component not reflected in grid rowData

I have an editable grid in the app.component where one of the columns is a CellRendererFramework: createColumnDefs() { return [ { headerName: 'First Name', field: 'firstName', editable: true }, { headerName: 'Last Name', field:…
Ranjeeth Rao
  • 155
  • 1
  • 10
0
votes
0 answers

AngularJS: Ag-grid cellRenderer processing my datetime, and adding an hour to value?

When passing my value from my function that returns the current date time, the built in ag-grid cell renderer is adding an hour and displaying this, however the data is being loaded into the backend as the correct value which is being passed in and…
0
votes
1 answer

Trouble anchoring a tooltip to item in cellRenderer

I’m trying to use the AgGrid framework with a cellRenderer to render a div within a table and attach a tooltip to this div. The function that will render the tooltip that I’m using, showMyTooltip, expects an HTML element as an anchor. It works when…
user3802348
  • 2,502
  • 11
  • 36
  • 49
0
votes
1 answer

react-virtualized Grid.cellRenderer - issues adding style prop

I am using the Grid component and have a cellRenderer. In it I attempt to add a backgroundColor style to the outer div. customColumnRenderer(props: GridCellProps): React.ReactNode { ... props.style.backgroundColor = "hotpink"; ... …
Pete Moss
  • 83
  • 7
0
votes
2 answers

How to color Jtable cell when renderer is applied

Hi i am working on jtable and i have to work with cell renderer in such a way that a am applying CurrencyRender in particular column. Also i am apply coloring ion each row. Everything going perfect but when i apply currencyRenderer in my numenric…
AspOpener
  • 23
  • 9
0
votes
1 answer

How to change a cell backgound of JTable based on previous cell value?

I'm trying to change the background of a JTable cells, based on the value of the cell of the column -1. So if a value of cell at[row, Column] is diffrent from given values eg "A", "B", then change the background of the given cell and the cell at…
Yacino
  • 645
  • 2
  • 10
  • 32
0
votes
2 answers

Xamarin forms, RecyclerView, cell rendering from xaml

I want to create control in Xamarin.Forms that uses native android RecyclerView as renderer. My problem occurs when i try create cell that contains labels or other controls with HorizontalOptions different than: Default, Fill and FillAndExpand. That…
0
votes
0 answers

How to get "column index" in a gtk.TreeView

After hours researching for the answer, I'm finally bent to post my question. How to get the "column index" of a cell in a gtk.TreeView ? It exists tens of methods to get the "row index" of any data, but sounds like it exists none to get the "column…
ARHZ
  • 1
  • 1
0
votes
1 answer

Python3 Gtk3+: How to hide a cell of a row

I have searched the whole internet for this, but found nothing helpful. I am beginning to think that this is impossible to do, but someone must have had a requirement of this type. My app: I use a TreeStore to list parents (folders) and childs…
UsManyDead
  • 25
  • 5
0
votes
0 answers

Gtk3 python combobox with CellRendererToggle

I'm trying to make a Gtk with Combobox with checkboxes in it. But "my" checkboxes are inactive, though I tried in many ways - I just cannot click them. Here is a fragment from my program self.listst= Gtk.ListStore(str) combost=…
tam
  • 13
  • 4
0
votes
1 answer

JavaFX : data isn't displayed in tableview's column when trying to use cellfactory

I want to display data in tableview's column with custom rendering. I tried to adapt this tuto to my need. Problem : In the code example below, when I use the setCellFactory() method, the data in the corresponding column isn't displayed. You can…
Mat_48
  • 15
  • 5
0
votes
2 answers

Highlight cell when row is selected

The problem I am having is that when I select a row, the cell with a custom cell renderer doesn't highlight that cell but does the other cells. public Component getTableCellRendererComponent( JTable table, Object value, boolean…
Grim
  • 2,398
  • 4
  • 35
  • 54
0
votes
0 answers

JList item selected where no element

I have a JList that is a set size (Dimensions) consisting of an array of Strings that a user initially specifies. The JList is nested inside of a ScrollPane for whenever the elements go beyond the scope of the dimensions. My problem is that if the…
0
votes
1 answer

python-gtk cellrenderer combobox for each row

I have a row like that -> [name],[mp3names],[suggested_names] suggested_names is a list for combobox and each row has different suggested names. So I need a combobox for them. but I dont know how to do. edit: I read my csv file at first, then I add…
earlymorningtea
  • 508
  • 1
  • 9
  • 20