function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
bella01bella01 

Only few lines in column

Hi

 

I am trying to display the only first four lines of  a field not the whole field value in the dataTable's column. 

 

Any idea how to do this?

 

Thanks

Bella

Best Answer chosen by Admin (Salesforce Developers) 
ngabraningabrani

Bella,

You will need to write an Apex method that performs the processing that you need on the column values.

And then you can call this method within an apex:repeat.

All Answers

ngabraningabrani

Bella,

You will need to write an Apex method that performs the processing that you need on the column values.

And then you can call this method within an apex:repeat.

This was selected as the best answer
bella01bella01

Hi  ngabrani

 

Thanks for your help.