Now using jQuery UI date picker. Editable end date and create new record from last record only. CRUD functionality now working. Added dropdown to select dimension tables.