Uipath forms data grid read only column

Hi, first time using form designer. I am reading a data table from excel which I am passing to Create Form activity. I am able to map the columns to a text field or text area component in a data grid using the field key matching to the column name. When I run the form designer all fields are then editable, I want some fields to be read only though. I can’t work out how to get text area/field to be read only or how to use another component to display the row data from the data table (tried content/html/label components) Anyone any ideas?

1 Like

Hey @ewanc1

On what basis you are looking to disable some of the fields?

You can refer a bit similar problem - How to Give Condition in Form Designer Panel? - #8 by adarsh_kotagiri

Please let us know.

Thanks
#nK

They are fields for information purposes only and I don’t want them to be updated

1 Like

Hey @ewanc1

Is it an entire column in the Data Grid?

Or how can we identify which field to disable ?

Thanks
#nK

It’s a column with the name EventType, as per the screenshot

1 Like

Using the content and html components I wasn’t able to work out how to pass the colum data from a specific row. Reading elsewhere you can as an input argument with {{data.inputargument}}

https://forum.uipath.com/t/send-argument-in-html-component-uipath-forms/273786/8

But wasn’t sure if it’s possible to do something with the data row column value, from the datatable argument I had passed in.

1 Like

Hey @ewanc1

So please correct my understanding…

You want your Event type column(all the column text fields) of the datagrid to be disabled with the value displayed right ?

Thanks
#nK

That sounds correct to me!

1 Like

Hey @ewanc1

Please find the below project for reference, hope this should serve your purpose.

nmnithinkrishna_DataGridColumnDisabled.zip (3.0 KB)

Thanks
#nK

Thank you that seems to work! For those of you that don’t want to download the file he used a text field component with settings as per screenshot below:

2 Likes

Thanks for posting @ewanc1

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.