Add sample for grid x api