+ Start a Discussion
sandeep reddy 37sandeep reddy 37 

apexpage

how many  type modes in the <apex:page block>components 
Pramodh KumarPramodh Kumar
Could please elaborate your question  and what exactly you need. :) 



Thanks,
pRAMODH.
jyothsna reddy 5jyothsna reddy 5
Hi Sandeep,

The default user mode for the pageBlock component's child elements. This value determines whether lines are drawn separating field values. Possible values are: "detail", in which data is displayed to the user with colored lines; "maindetail", in which data is displayed to the user with colored lines and a white background, just like the main detail page for records; and "edit", in which data is displayed to the user without field lines. If not specified, this value defaults to "detail". These lines have nothing to do with requiredness, they are merely visual separators, that make it easier to scan a detail page. 

So basically it makes it look like the regular page edit does - displays withouth separating lines.

Hope it helps you.

Regards,
Jyothsna D
 
sandeep reddy 37sandeep reddy 37
in the component it has mode attribute theare mode="how manytypes i have to know that"
sandeep reddy 37sandeep reddy 37
thanks jyothsna
jyothsna reddy 5jyothsna reddy 5
Hi Sandeep ,
Mode types in apex:pageblock:
  • edit
  • detail
  • maindetail
hope it helps you.

Regards,
Jyothsna D.