Questions tagged [columndefinition]

Defines column-specific properties that apply to Grid elements.

28 questions
4
votes
1 answer

angular js dynamically add column to ui-grid

hi, I am developing angular js application In which i am using angular ui-grid to display bind the data coming from mvc controller.But after i bind data to ui-grid i want to add extra column to grid having buttons on each row dynamically.I dont…
3
votes
0 answers

Why does the IsMouseOver trigger not work for a Grid ColumnDefinition?

Goal: I'm trying to create an accordion-style Grid, using only a couple of columns (ColumnDefinition). Expected behavior: The ColumnDefinition Width should increase to 2* when the mouse cursor is above the column. It should return to 1* when it's…
burneech
  • 31
  • 1
  • 7
2
votes
2 answers

How to access the value of another column in the columnDefs in an ag-Grid Angular setup?

I have an ag-Grid with two columns: An ID column and a Description column. I construct the column definitions of these two columns in columnDefs in the ngOnInit() method in the TypeScript class. In the Description column I use cellRendererFramework…
Rune Hansen
  • 954
  • 3
  • 16
  • 36
2
votes
1 answer

WPF ListBox Layout (dynamic column width considering all rows at once)

Is there a way to make sure that the Width="auto" property considers the Width of all elements in a list instead of calculating it individually for every row in the list?
bebo
  • 819
  • 1
  • 9
  • 26
1
vote
0 answers

Assigning 'onCellKeyDown' handler based on column definition

In MUI X Data Grid, I want to handle the 'onCellKeyDown' event differently for specific column types. The MUI docs say that to create custom column types we define using the GridColTypeDef type, and then just spread into our column definition like…
1
vote
0 answers

JPA Column definition not working with COMMENT for H2 database

This syntax is working for Mysql while it is not for H2. SQL Syntax for h2 comment seems to be different from Mysql. Any suggestion on how generalize this situation? I need support for both database. Even a way to avoid Comment when using H2 could…
VittoN
  • 23
  • 5
1
vote
1 answer

How can I return the current column name in columnDefs jquery datatables?

Like this I can return the value of the current row: "columnDefs": [ { "render": function (data, type, row) { return data ; }, What I am actually looking for is the name of the current column. I tried: "columnDefs": [ { …
peace_love
  • 6,229
  • 11
  • 69
  • 157
1
vote
1 answer

How can I define the targets of columnDefs in datatables as "last"?

My target is right now set to column 5: "columnDefs": [{ "render": function (data, type, row) { return data; }, "targets": 5 }], What I want to do is, instead of targeting it to a specific number, I want to target it to the last…
peace_love
  • 6,229
  • 11
  • 69
  • 157
1
vote
2 answers

How to have WPF Grid columns width="*" but also have a dynamic minimum width so content doesn't get cropped

I have a 3 columns in wpf grid which needs to be proportional
prabhat
  • 87
  • 1
  • 1
  • 10
1
vote
1 answer

ColumnDefinition position in the Grid

I'm trying to figure out if a ColumnDefinition knows it's position inside the Grid or not. I have 3 columns as follows:
1
vote
1 answer

Another Window In The Column Definition

I Have 2 Window In My Project. One Of This Is MainWindow.xaml Other One Is Control_Page.xaml. I Would Like To Insert Control Page Window To ColumnDefinition And RowDefinition. This Definitions Defined On MainWindow. Here Is My Code:
1
vote
2 answers

WPF ColumnDefinitions and start width

I have some trouble with setting the width of columns in my grid. I want to achieve that the most left column is at startup (of the application) 200 pixels width but is still resizeble. This is my code:
Aron Hoogeveen
  • 437
  • 5
  • 16
0
votes
1 answer

How to force @JoinColumn columnDefinition to ignore referenced columnDefinition

I have following code for self-referencing entity @Data @Builder @EqualsAndHashCode(callSuper = false) @NoArgsConstructor @AllArgsConstructor @Entity @Table public class Dictionary implements Persistable { @Id …
cane
  • 892
  • 1
  • 10
  • 16
0
votes
0 answers

Column delimiter error in SSIS while trying to import CSV file to mysql

I got the example data like this. Since the 1st row is column name, and I get the error on the 3rd row: "The column delimiter for column 'ShipName' was not found". I tried to open it in excel and find out the problem in about the ShipName of this…
0
votes
0 answers

@Column is setting column name due to the variable

I have this code: import jakarta.persistence.*; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.time.LocalDate; @Entity @Table(name =…
1
2