Code of Civil Procedure § 1024
CHAPTER 6. Of Costs
When an application is made to the court or referee to postpone a trial, the payment of the expenses occasioned by the postponement may be imposed, in the discretion of the court or referee, as a condition of granting the same.