1

I have two questions about igxGrid and igxDialog.

  1. How can I set the height of the rows in a igxGrid?
  2. I have a confirmation dialog with a message with 3 sentences. How can I include a new line after each sentence? The '\n' and <br> do not work.

Thank you!

ivs
  • 133
  • 7

1 Answers1

2
  1. To set grid rows height you should set rowHeight of the grid like this:
<igx-grid [rowHeight]="100">
...
</igx-grid>
  1. Message is used to show simple message in the dialog. It is put in a span and there is no way to make it multiline. If you need to show multiline text in the dialog body you can add it as a content in the dialog like this:
<igx-dialog>
    Some multilne
    <br />
    messge here!
</igx-dialog>

Note you can put whatever you want as a dialog content. Keep in mind if you set message input it will override the content.

Konstantin Dinev
  • 34,219
  • 14
  • 75
  • 100
wnvko
  • 1,985
  • 1
  • 14
  • 18