Cut the corn kernels from the cobs. Pulse half of the kernels in a blender or food processor until broken into small pieces. Leave the rest whole.
Combine the coconut milk, water, rice, pandan leaves, corn cobs, and salt in a large pot. Bring to a boil over medium-high heat, stirring occasionally.
Lower the heat to low and partially cover. Simmer for 15–20 minutes, until the rice is tender. Stir occasionally and scrape the bottom. Remove the cobs and pandan leaves.
Add the whole and blended corn, coconut cream, and sugar. Cook over medium-low heat for about 10–15 minutes, stirring often, until the corn is cooked and the pudding thickens.
Add water or coconut milk if too thick, and adjust the sugar to taste. Turn off the heat. Let cool slightly before serving warm, or refrigerate to serve chilled.
Notes
Corn: Fresh, frozen, or canned works. If using cream-style corn, adjust the sugar since some brands are sweetened.
Glutinous rice: Also called sticky rice or malagkit. Use whole grains, not flour.
Coconut milk: Fresh or canned works. Use full-fat for a creamy pudding.
Coconut cream: You can replace it with the same amount of coconut milk.
Pandan: Optional. You can add a little vanilla at the end instead.